?
Solved

Need help with running my own authorative DNS server for a couple of domains

Posted on 2004-04-26
1
Medium Priority
?
222 Views
Last Modified: 2010-03-18
Hi Guys

I've registered a domain, foo.com and asked my registrar to register two DNS servers, ns0.foo.com and ns1.foo.com.

When a do a WHOIS on my domain, I see both ns0.foo.com and ns1.foo.com (on different IP's) as the name servers, as expected.

What configuration do I need to make to BIND on my master zone?

My current zone record looks like this...

$ttl 38400
foo.com.      IN      SOA      servername.foo.com. hostmaster.foo.com. (
                  1082969804
                  10800
                  3600
                  604800
                  38400 )
foo.com.      IN      NS      servername.bim7.com.

Do I need to add the NS records for ns0.foo.com and ns1.foo.com?

I know what I need to do with MX and A records for mail and web site, but I'm confused about NS records. What do I need to create? Should I create an A record to ns0.foo.com and ns1.foo.com as well as an NS record?

Any information much appreciated.

Gareth
0
Comment
Question by:localgareth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
da99rmd earned 1000 total points
ID: 10926703
My zone file liks like this:
;
; Zone file for trollis.net
;
; The full zone file
;
$TTL 3D
@       IN      SOA     foo.net. hostmaster.foo.net. (
                        2004022702      ; serial, todays date + todays serial #
                        8H              ; refresh, seconds
                        2H              ; retry, seconds
                        4W              ; expire, seconds
                        1D )            ; minimum, seconds
;
                NS      ns              ; Inet Address of name server
                NS      ns2
                MX      10 mail.foo.net.    ; Primary Mail Exchange
                MX      20 mail2.foo.net.
;
ns              IN A       (IP)
ns2             IN A       (IP)
mail            IN A       (IP)
mail2          IN A        (IP)
; Clents
client1         IN A       (IP)
; THis will make *.foo.net come to one ip
@               IN A       (IP)

You should make a reverse lookup for you domain.
read thsi howto:
http://www.tldp.org/HOWTO/DNS-HOWTO.html

/Rob
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question