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

Forcing 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.

How to force in.named to reload DNS data.
  1. Become superuser.

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

This will eliminate all previously cache, and the caching process will start over again.


Caution – Caution –

Do not attempt to run in.named from inetd. This will continuously restart the name server and defeat the purpose of having a cache.