public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* DNS Caching.
@ 2006-03-24 16:55 Michael Closson
  0 siblings, 0 replies; only message in thread
From: Michael Closson @ 2006-03-24 16:55 UTC (permalink / raw)
  To: glibc-bugs

Hello,

Does glibc implement a DNS cache as illustrated here:

http://upload.wikimedia.org/wikipedia/commons/0/09/DNS_in_the_real_world.svg



I think the answer is no.  I have used ethereal to monitor network
traffic and have observed that multiple gethostbyname() calls result in
multiple name server queries (one per call), even from authoritative
name servers where the TTL is a reasonable value (1 day).


Never-the-less, since DNS is so cacheable, it seems surprising to me
that is would not be a feature of glibc.


Thanks ahead!

Michael Closson


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-24 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24 16:55 DNS Caching Michael Closson

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 read-only IMAP folder(s) and NNTP newsgroup(s).