For example, to add the host rigel to the doc.com domain, do the following.
Create a /etc/resolv.conf file on rigel.
Add dns to the hosts line of rigel's /etc/nsswitch.conf file
Add an address (A) record for rigel to the master server's hosts file.
rigel IN A 192.168.112
Add any additional optional records for rigel to the master server's hosts file.
Optional records could include the following.
Mail exchange (MX)
Well known services (WKS)
Host information (HINFO)
Add a PTR record for rigel to the hosts.rev file.
Increment the SOA serial number in the master server's hosts and hosts.rev files.
Reload the server's data.
Either reboot the server or type the following.
# kill -HUP `cat /etc/named.pid`