Solved

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

Posted on 2004-04-26
1
218 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 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
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…

690 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