Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

I setup my 2 name servers: -> ->

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 ->

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


share|improve this question

migrated from Jun 2 '12 at 14:55

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

just what I spotted at a glance - I think you need to find the external ip of your server - 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 and

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, you just set up the DNS servers for that domain to point to ns1. and, and ofcourse add the appropriate records to your DNS servers.

share|improve this answer

Your Answer


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.