Home > Solaris > How To Enable and Run DNS Server in Solaris 10

How To Enable and Run DNS Server in Solaris 10


hello guys,,

at this time, i would like to share tutorial how to Enable and Run DNS Server in Solaris 10..

Actually server-server are bundled in solaris 10,

you just need to enable it and make simle configuration..

okey here we go..

First Check Your DNS Server status

# svcs -l /network/dns/server

oke lets continue next step..

You need a few things to configure a DNS server. Using the Solaris 10 service, the first thing to do is to define the /etc/named.conf configuration file.

Here is my named.conf file (at least a part of, as you will see😉

options {
        directory "/var/named";
        notify yes;
};

zone "." in {
        type hint;
        file "db.cache";
};

zone "0.0.127.IN-ADDR.ARPA" in {
        type master;
        file "db.127.0.0";
        notify no;
};

You will then need to create a /var/named folder. In this folder, create a db.cache file, db.127.0.0.

db.cache file contains the ROOT-SERVERS definitions.
db.127.0.0 is as follow:

@ IN  SOA ns.mydomain.com. postmaster.mydomain.com. ( 2007112601 7200 3600 604800 600 )
  IN  NS  ns.mydomain.com.

1.0.0.127.IN-ADDR.ARPA.         IN  PTR   localhost.

Enable the dns service on your zone, and… you’re done!!!

root@ns:/# svcadm enable network/dns/server
Categories: Solaris Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: