This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gethby* and dynamic DNS assignment
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: gethby* and dynamic DNS assignment
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 09 Jan 2001 08:12:24 -0800
- Cc: libc-alpha at sources dot redhat dot com, grimmer at suse dot de
- References: <howvc4d9b2.fsf@gee.suse.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------