restart network services
I am new to Solaris.
I am using a Solaris 9 x86 installation at home and do not have a dedicated domain server, thus DNS did not go so well at setup.
So, I know enough to check my /etc/nsswitch.conf file and make sure dns is referenced there, and I created an /etc/resolv.conf file to point to my dns server (Redhat 9, BIND). So, all I wanted to do was bounce the correct service so the system would recognize the changes and allow me to use the browser to download patches, etc.
Which service should I have restarted, and how do I do it? I tried a few like pkill -HUP /usr/sbin/inet, etc. but it didnt work. Rebooting did the trick so I know my settings were correct, I just do not know the proper way to bounce services.
TIA
[757 byte] By [
dsbeck] at [2007-11-26 11:59:05]

# 1
> I am using a Solaris 9 x86 installation at home and
> do not have a dedicated domain server, thus DNS did
> not go so well at setup.
>
> So, I know enough to check my /etc/nsswitch.conf file
> and make sure dns is referenced there, and I created
> an /etc/resolv.conf file to point to my dns server
> (Redhat 9, BIND). So, all I wanted to do was bounce
> the correct service so the system would recognize the
> changes and allow me to use the browser to download
> patches, etc.
Both files are read when a program starts. There is no daemon or service to restart.
> Which service should I have restarted, and how do I
> do it? I tried a few like pkill -HUP /usr/sbin/inet,
> etc. but it didnt work. Rebooting did the trick so I
> know my settings were correct, I just do not know the
> proper way to bounce services.
There shouldn't be anything. Sometimes hosts are cached by 'nscd', but that's a separate issue.
I can't tell from your description why the reboot did anything.
--
Darren