Solved

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

Posted on 2004-04-26
1
195 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
1 Comment
 
LVL 8

Accepted Solution

by:
da99rmd earned 500 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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