System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

How to Force in.named to Reload DNS Data

When in.named successfully starts, the daemon writes its process ID to the file /etc/named.pid. To have in.named reread named.conf and reload the database do the following.

  1. Become superuser.

  2. # kill -HUP `cat /etc/named.pid`

The above procedure eliminates all of the existing cache. The caching process then restarts.


Caution – Caution –

Do not attempt to run in.named from inetd. Doing so continuously restarts the name server, which defeats the purpose of having a cache.