Download this template(
http://developers.sun.com/solaris/technotes/named.tar.Z) to a work directory, such as /var.
To unpack the file, at the command line type:
zcat name.tar.Z | tar xvf -
For quick installation, do the following:
1.Determine what type of DNS you want and what support information you need from your network provider, such as global caching DNS.
2.Edit the named.* files you need. For releases prior to Solaris 7, use named.boot, named.local, named.cache, named.mydomain, and named.mydomain.rev. For Solaris 7 and Solaris 8, the map files are the same, but edit the named.conf instead of named.boot.
3.Edit the /etc/resolv.conf file. It should look like the following:
domain mydomain.com
nameserver 127.0.0.1 ;if DNS server runs on this host
nameserver 129.200.9.1 ;if this is a remote client
4.Create a symbolic link in /etc/ to either the named.boot or named.conf file and start the DNS (/usr/sbin/in.named).
5.You can verify the DNS is working properly by running some queries to test forward and reverse resolution.
Full details are avalable here:
http://developers.sun.com/solaris/technotes/named.html