This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gethby* and dynamic DNS assignment


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]