Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm in the process of setting up my own name servers using BIND9, however I want to visualize the name server setup in relation to registrars and other name servers.

Say I have a domain www.mydomain.com

I setup my 2 name servers: ns1.mydomain.com -> 192.168.0.1 ns2.mydomain.com -> 192.168.0.2

1) How does the world know that my name servers are now at ns1.mydomain and ns2.mydomain. I read about setting up glue records at my registrar. Could you please elaborate on this, i.e. once i setup these glue records, can I now use my name servers in NS records for any other domain?

For e.g. NS records for www.otherdomain.com -> ns1.mydomain.com/ns2.mydomain.com

2) Given I setup the glue records as mentioned above, do I "have to" update mydomain.com NS records to point to my name servers? Can I keep mydomain.com NS records pointing to my registrars name servers, however use ns1.mydomain.com/ns2.mydomain.com as name servers for any other domain I own?

Thanks

share|improve this question

migrated from stackoverflow.com Jun 2 '12 at 14:55

This question came from our site for professional and enthusiast programmers.

2 Answers 2

just what I spotted at a glance - I think you need to find the external ip of your server - 192.168.0.1 is an internal ip.

share|improve this answer
    
I just used 192. as examples:) –  mmokh Jun 1 '12 at 10:34

You have two options for first question:

a) Have an external (other, providers',...) DNS server resolve ns1.yourdomain.com and ns2.yourdomain.com

b) Set up a GLUE record for those two addresses

Either way, everyone will be able to resolve your two dns servers addresses. (Ofcourse you'll need to use public IP addresses).

After that, you set up a DNS server on both servers, and you can add zones for other domains. So when you buy otherdomain.com, you just set up the DNS servers for that domain to point to ns1. and ns2.yourdomain.com, and ofcourse add the appropriate records to your DNS servers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.