Solved

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

Posted on 2004-04-26
1
173 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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now