DNS settings

Hi all,
I'm trying to figure out how DNS settings can be made effective after changing the resolv.conf file. I don't want to shut down and restart, so I'm looking for a possible process that I can stop and start. However, I'm not having any luck finding information to do so. Does anyone know if this can be done, and how? And on a side note, I'm changing the time servers in the ntp.conf file as well, and as far as I can tell, I'll only need to stop and start the xntpd service. Does this sound right?

Thanks for any help

you don't have to reboot to activate dns resolving, make sure your /etc/resolv.conf is ok:
nameserver xx.xx.xx.xx
and set you nsswitch.conf to use the dns:
.
..
hosts files dns
..
.

now it should work...

gP

I was hoping a reboot wouldn't be necessary.

Thanks a ton for the help!!

You can simply just restart the network you do not have to restart the hole box. /usr/bin/ifconfig hme0 stop|start or /etc/rc2.d/netsomething restart

As Pressy said a you need only change the configuration files for dns lookup changes. No restart of anything or reboot is needed.

to find hosts in your domain faster, you can add a line
"search mydomain.com" to the /etc/resolv.conf file (I think the line must be on top of the file...)

greets

Thanks everyone for your help. I think I'm on track now.

Try this:

kill -HUP named

Try this: -

kill -HUP named