For example, to add the host rigel to the doc.com domain:
Create a /etc/resolv.conf file on rigel.
Add dns to the hosts line of rigel's /etc/nsswitch.conf file
(See "DNS and Internet Access".)
Add an address (A) record for rigel to the primary server's hosts file.
rigel IN A 220.127.116.11
Add any additional optional records for rigel to the primary server's hosts file.
Optional records could include:
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 primary server's hosts and hosts.rev files.
Reload the server's data.
Either reboot the server or enter:
# kill -HUP `cat /etc/named.pid`
These steps are explained in more detail in Solaris Naming Setup and Configuration Guide.