cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multihomed connections

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

"Dan Fandrich" <dan_at_coneharvesters.com> said:

> > BTW. try "adig www.cnn.com" 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!

--gv
Received on 2004-06-08