nscd gotcha

Sarantis Paskalis sarantis at cnl.di.uoa.gr
Wed Nov 10 17:58:16 UTC 2004


On Wed, Nov 10, 2004 at 09:45:43AM -0600, Brian Millett wrote:
> My server at home uses a dyndns server to keep the current ip address
> uptodate.  Well this morning, the lease expired and it got a new ip.  No
> problem there.  But I could not get to my mail any more.  Strange.  I
> checked to see what it was resolving to:
> [bpm]$ dig mail.momillett.org
> 
I ran into a similar problem.  It seems that nscd stores its cache
persistently across restarts (and/or reboots).  To clean its hosts 
cache, I had to run manually

# nscd --invalidate hosts

The man page is silent on this option.  I found it, however, with
nscd --help.

-- Sarantis




More information about the fedora-devel-list mailing list