Results 1 to 3 of 3
Hi
Kindly recommend me one how-to to create name server.
I just found some tutorials. they have only one name server setup.
ns1.server.com
I need ns1. and ns2.
Thanks...
- 12-02-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
DNS Server setup
Hi
Kindly recommend me one how-to to create name server.
I just found some tutorials. they have only one name server setup.
ns1.server.com
I need ns1. and ns2.
Thanks
- 12-03-2011 #2Just Joined!
- Join Date
- Dec 2009
- Location
- California
- Posts
- 69
On the primary name server, create /etc/named.conf
---
You will then have to create the contents of the two data files, /var/named/rootservers.cache and /var/named/db.unixpeople.Code:options { directory "/var/named"; pid-file "/var/named/named.pid"; }; include "/etc/rndc.key"; zone "." { type hint; file "rootservers.cache"; }; zone "unixpeople.com" { type master; file "db.unixpeople"; }; ---
The rootservers.cache file can be found easily by google. For example, here:
http://www.internic.net/zones/named.root
The db.unixpeople zone file would look like this:
---
On the secondary servers, (ns1.unixpeople.ca and trinity.trinnet.net), you would put an entry in the named.conf for each zone for which the server is a secondary:Code:$TTL 600 unixpeople.com. IN SOA woody.unixpeople.com. hostmaster.unixpeople.com. ( 20111203 ; serial 14400 ; refresh 900 ; retry (15 minutes) 5184000 ; expire (8 weeks 4 days) 3600 ; minimum (1 hour) ) NS ns1.unixpeople.ca. NS woody.unixpeople.com. NS trinity.trinnet.net. MX 10 mail.unixpeople.com. ---
---
---Code:zone "unixpeople.com" { type slave; masters { 168.144.196.83; }; file "db.unixpeople"; };Last edited by abarclay; 12-03-2011 at 09:08 PM. Reason: formatting
- 12-03-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
Thank you!


2Likes
Reply With Quote