public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/4428] New: hosts caching does not respect TTL, and caches old IP's
@ 2007-04-25 19:11 madcoder at debian dot org
  2007-04-28  3:26 ` [Bug nscd/4428] " drepper at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: madcoder at debian dot org @ 2007-04-25 19:11 UTC (permalink / raw)
  To: glibc-bugs

I've tested that using a very short lived (TTL of 3 seconds) of a DNS A 
record. nscd only respects positive-time-to-live from /etc/nscd.conf and not 
DNS TTLS as it should.

It has very nasty side effects if the record in question is (e.g.) the IP of 
the ldap server :)

To reproduce the problem, have a short lived A domain (e.g. 3 seconds) change 
its IP. hosts $domain will answer the correct new IP after at most 3 seconds, 
whereas getent hosts $domain will always return the old IP (until the 
nscd.conf positive-time-to-live expires).

-- 
           Summary: hosts caching does not respect TTL, and caches old IP's
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: madcoder at debian dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4428

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-4428-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2015-10-02 17:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 19:11 [Bug nscd/4428] New: hosts caching does not respect TTL, and caches old IP's madcoder at debian dot org
2007-04-28  3:26 ` [Bug nscd/4428] " drepper at redhat dot com
2007-04-28  9:08 ` madcoder at debian dot org
2008-02-28 13:19 ` ibaldo at adinet dot com dot uy
     [not found] <bug-4428-131@http.sourceware.org/bugzilla/>
2014-02-16 19:44 ` jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org
2014-07-04 22:13 ` fweimer at redhat dot com
2015-10-02 17:34 ` fche at redhat dot com

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).