Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-04-26
1
Medium Priority
?
226 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

636 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