Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Possible Duplicate:
What is a glue record?

I just can't understand how a server running BIND at the same place(or IP) that my website is running is going to provide the DNS records to everybody else. What I mean is since BIND is a DNS and it's purpose is to let everyone know "Hey,'s IP is" who lets everyone know where that server(the DNS) is running?

share|improve this question

marked as duplicate by Ladadadada, Khaled, Bart De Vos, Iain May 27 '12 at 10:15

This question was marked as an exact duplicate of an existing question.

Oh so that's what it's called. Thanks a million for that. I'll look into it. – Constantine Loukas May 27 '12 at 8:44
up vote 0 down vote accepted

let's say you're a home desktop computer. what do you do to resolve to an ip address?

  • you contact a recursive dns server - you ask it what's the ip address of by sending query for A or AAAA record. [in most cases you'll 'know' address of the recursive dns server from configuration passed via DHCP protocol, but possibly address of such server was entered manually together with ip address, gateway and netmask.]
  • the recursive dns server checks if the entry is already in its cache, if it is and is not stale returns you this entry immediately. below i'll assume there's no data in cache.
  • if the entry is not in cache it starts from the left-most part - com in our case. every recursive dns server has configured ip addreses of the root dns servers; your recursive dns server contacts randomly selected root name server and asks 'what's the ip address of server that can tell me about'. asked server will not know that but will refer your recursive name server to the servers responsible for the com domain.
  • your recursive name server will ask com domain servers again about; those will not know about but they will know about and will return addresses of name servers responsible for it.

you can see order of dns queries for more complicated domain with few delegations here. for the record - this was a great dns visualization tool but it seems to be offline at the moment.

now let's say you're webmaster / server admin that wants to set up own domain

  • you go to a registrar and buy
  • most registrars provide you free dns hosting but you prefer to do it your own way so instead of using web gui to enter dns records you delegate the domain to your own name servers
  • you set up own dns server that will return information about entries within - you can set there A records [eg>], CNAME [eg>], NS [eg - for anything within please following name servers] and other.

also take a look here.

share|improve this answer
Thanks a lot for this answer, it makes the whole process really simple to understand. However I was talking about (what I now know they're called) "glue records". – Constantine Loukas May 27 '12 at 9:07

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