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've got serious problem with configuring the dns on my domain and I'm stuck with it!

I recently purchased a dedicted server for a domain i have that is rafsanjani.ir and i want to host it on my server so i had to update the dns of the domain. On my dedicated server I have 12 dedicated ip address and it has BIND DNS Server 9.4.2-P2-W2 on it installed.

I went to my domain control panel and guess what it doesn't accept ip addresses it only accepts ns.domain.com type of string! I contacted the vps server support they told me that i have to set 2 of the ip address of my vps server as dns server.

and since there was no choice I updated my domain dns to: ns1.rafsanjani.ir and ns2.rafsanjani.ir.

I guess it's obvious that since these urls points to nowhere on the net ( pinging ns1.rafsanjani.ir obviously fails! ) the domain stucks with himself and pinging the domain will result in timeout too!

Is there anyway around this?

share|improve this question
1  
ns1.rafsanjani.ir is not an URL (an URL starts with a scheme like 'http://') but a domain name. You really should fix the title of your post. –  bortzmeyer Sep 14 '09 at 7:16

2 Answers 2

The secret trick you are looking for is a glue record, which means that the two domain names for you nameserver (ns1.rafsanjani.ir and ns2.rafsanjani.ir) has to be placed in the zone of .ir.

Also see Wikipedia's entry on glue records.

share|improve this answer

Who ever registered the domain for you needs to provide Glue records for the name servers to work. Once these are setup, your DNS will point to your BIND install and start working.

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.