1

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?

  • 2
    I don't personally know Solaris, but on every Unix system I've ever used (and even on Windows ones...) changes to the hosts file never required a reboot to become effective. – Massimo Feb 17 '14 at 23:13
  • Not to be that guy but you could have tested it for yourself in less time than it took to post your question. – joeqwerty Feb 18 '14 at 2:28
4

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.