On Wed, 29 Dec 2004, Bob Miller wrote:

> Allen Brown wrote:
> 
> > We have been changing the resolv.conf file and expecting the
> > system to respond immediately to the change.  Is that a
> > mistake?  Is there something else I need to do each time?
> 
> >From nscd(8):
> 
>     Nscd doesn't know anything about the underlaying protocols
>     for a  service.  This  also  means,  that  if you change
>     /etc/resolv.conf for DNS queries, nscd will continue to use
>     the old one if you  have configured /etc/nsswitch.conf  to 
>     use DNS for host lookups. In such a case, you need to
>     restart nscd.
> 
> Running "/etc/init.d/nscd restart" might be necessary.
> 
> -- 
> Bob Miller                              K<bob>

My Dad's system is RedHat7.3, so it should have nscd.

My Debian Sarge system doesn't have anything by this name.
But I would still like to be able to update this file on
my system without rebooting.

There are two things in /etc/init.d with "dns" in them,
dns-clean and pppd-dns.  The former is clearly not it since
it doesn't do anything for restart.  The latter does nothing
but call /etc/ppp/ip-down.d/0000usepeerdns, which then uses
/usr/sbin/nscd.

All very fine, but /usr/sbin/nscd doesn't exist on my system.
Is there some other program I should be looking for?

Here is what I have in /etc/init.d
apache2*            exim4*            mountall.sh*  sendsigs*
atd*                fam*              mountnfs.sh*  setserial*
bind9*              gdm*              mountvirtfs*  single*
bootclean.sh        halt*             networking*   skeleton*
bootlogd*           hostname.sh*      nfs-common*   spamassassin*
bootmisc.sh*        hotplug*          nviboot*      ssh*
checkfs.sh*         hwclockfirst.sh*  portmap*      stop-bootlogd@
checkroot.sh*       hwclock.sh*       postgresql*   sudo*
console-screen.sh*  ifupdown*         ppp*          sysklogd*
cron*               inetd*            pppd-dns*     umountfs*
cupsys*             initrd-tools.sh*  procps.sh*    umountnfs.sh*
dbus-1*             keymap.sh*        rc*           urandom*
dhcp*               klogd*            rcS*          xfree86-common*
discover*           lwresd*           README        xprint*
dns-clean*          makedev*          reboot*
etc-setserial*      modutils*         rmnologin*
--
Allen Brown
  work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
        [EMAIL PROTECTED]             [EMAIL PROTECTED]
  When you say "I wrote a program that crashed Windows",
  people just stare at you blankly and say "Hey, I got those
  with the system, *for free*".  --- Linus Torvalds

_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to