netdev
[Top] [All Lists]

Re: [2.4.20] Frustrating DNS / UDP Socket flakeyness

To: Mark Smith <markzzzsmith@xxxxxxxxxxxxxx>
Subject: Re: [2.4.20] Frustrating DNS / UDP Socket flakeyness
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Mon, 21 Apr 2003 10:33:23 +1000
Cc: netdev@xxxxxxxxxxx
In-reply-to: Your message of "21 Apr 2003 02:05:32 +0930." <1050856532.1816.22.camel@dupy>
Sender: netdev-bounce@xxxxxxxxxxx
On 21 Apr 2003 02:05:32 +0930, 
Mark Smith <markzzzsmith@xxxxxxxxxxxxxx> wrote:
>While a TCP download is running, the UDP / DNS queries are sent, a
>response comes back from the DNS server, but for some reason, in the
>kernel appears to have closed the UDP socket, and therefore generates an
>ICMP destination unreachable, port unreachable message back to the DNS
>server.

The response takes too long so the resolver is timing out the request
and trying another server.  When the delayed response arrives, the
resolver has closed the socket so the icmp reject is correct.  The
default timeout is 5 seconds, try adding 'options timeout:10' to
/etc/resolv.conf.


<Prev in Thread] Current Thread [Next in Thread>