cURL / Mailing Lists / curl-library / Single Mail


Re: multihomed connections

From: Gisle Vanem <>
Date: Tue, 8 Jun 2004 21:09:31 +0200

"Dan Fandrich" <> said:

> > BTW. try "adig" and watch the IP-order changes constantly.
> > Whereas the dig or host programs gives a more stable list of IPs.
> I'll bet adig does a new DNS request each time, whereas dig and host return
> a cached result.

No, dig bypasses the local DNS-cache and sends a fresh request
each time. Besides I don't think a local DNS-client will cache the
result longer than the TTL in the response would say. Would be a
bug if it did?

But in my case it seemed dig and adig used different nameservers.
Even with the same resolv.conf. Bummer!

Received on 2004-06-08