[CentOS] Reloading /etc/hosts

Ralph Angenendt ra+centos at br-online.de
Mon Aug 4 13:48:35 UTC 2008


Robert Moskowitz wrote:
> I am doing some testing and am having to make many changes to /etc/hosts
>
> Is there a way to reload the /etc/hosts file without doing a service  
> network restart?

That doesn't need to be reloaded *except* if you use the name service
caching daemon (nscd). Then "service nscd reload" might be needed.

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20080804/ed5d689b/attachment.bin


More information about the CentOS mailing list