Solaris Update Hosts file Without Rebooting

hostssolaris

I'm running Solaris 10 and I'm having issues with a particular network and need to replace host entries in my hosts file. I've updated the hosts file. Is there a refresh the hosts entries without a reboot?

Best Answer

No reboot required. But to be sure the changes take effect you can restart the nscd:

pkill nscd

SMF should automatically restart the nscd.. or:

svcadm restart svc:/system/name-service-cache:default

Hope that helps.

Related Topic