SUMMARY [Changing resolv.conf]

From: Richard Zinar (zinar@shannon.jpl.nasa.gov)
Date: Thu May 06 1999 - 17:15:24 CDT


   Original post:

      What process(es) need to be restarted or signaled in
      order for a Sun to recognize changes to the /etc/resolv.conf
      file? The machine in question is running Solaris 2.6, and
      its nsswitch.conf file specifies "hosts: files dns" for
      hostname resolution. I would hope that a reboot is not
      needed for the changes to become effective.

   I received many responses in a short time. They fell into
   three categories:

   - Nothing needs to be done. (This was the response sent by
      the largest number of respondents).

   - Currently running programs (or some running programs, anyway)
      will need to be stopped and restarted.

   - The name service cache daemon (nscd) will be need to be stopped
      and restarted (/etc/init.d/nscd {stop,start})

   Thanks to all who responded. I guess I'll try making the change to
   resolv.conf, and if any problems occur, I'll restart nscd.

                                 Richard



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:19 CDT