euglug.org

[Eug-lug] Name server for a ppp connection

작성자

카테고리:



Bob MillerWed Dec 29 12:09:42 PST 2004

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  ser-
       vice.  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>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com