9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: geoff@collyer.net
To: 9fans@collyer.net
Subject: [9fans] dns time-outs
Date: Sat, 29 Sep 2001 03:01:08 -0700	[thread overview]
Message-ID: <20010929100230.6FEE919A64@mail.cse.psu.edu> (raw)

My smtpd has refused a few messages (including one from 9fans),
apparently because dns couldn't resolve the sender's domain
within 60 seconds.  Looking back through the logs, this is a
new phenomenon.  This is the quick fix I'm using (relative
to /sys/src/cmd/ndb):

: cpu; diff `{yesterday dns.c} .
399c399,403
< 		req.aborttime = now + 60;	/* don't spend more than 60 seconds */
---
> 		/*
> 		 * we used to spend at most 60 seconds; that isn't long enough
> 		 * for lookups for smtpd any more.
> 		 */
> 		req.aborttime = now + 2*60;


             reply	other threads:[~2001-09-29 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-29 10:01 geoff [this message]
2001-09-29 12:54 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010929100230.6FEE919A64@mail.cse.psu.edu \
    --to=geoff@collyer.net \
    --cc=9fans@collyer.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).