gethby* and dynamic DNS assignment

Ulrich Drepper drepper@redhat.com
Tue Jan 9 08:12:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> I decided to handle this problem with the following patch.  What do
> you think?  This leads unfortunatly to a stat with every gethostby*
> call.

And this really is no option.  Dynamic update of IP address
information has to happen differently.  Either update named
dynamically or do something like restarting nscd.  If you update the
input files and then restart nscd there is never a time when the new
information is not available.  It might only be that some programs are
not using nscd.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list