Setting up DNS server to resolve itself with root servers, registrars etc

Discussion in 'General' started by voipfc, May 14, 2007.

  1. voipfc

    voipfc New Member

    I get this report from dnsreport when run against a domain setup in a mydns server.

    From what I can see it appears that dnsreport expects the nameserver to return an A record for itself, although the domain name used by the nameserver itself is hosted at dreamhost.

    Does that mean that I have to delegate the subdomains ns1.domain.com and ns2.domain.com from dreamhost to my own name servers and have them answer for themselves?

    I had a problem before when I tried to change the name server for a domain to the domain itself i.e at the registrar set ns1.domain.com and ns2.domain.com as the DNS servers for domain.com. I don't know whether it was the result of some old fashioned DNS setup as it was some years ago.

    The other alternative I can think of is to setup the servers, enter all the values currently stored at dreamhost and switch over the DNS at the registrar. I am not quite sure how that will work as it appears to be some kind of recursive chicken and egg situation. A lot of registrars seem to prefer domain names rather than IP addresses when setting up name servers.

    I have a feeling it requires some unusual request at the registrar but I am not quite sure what it entails.

    It appears to share some similarity with this thread - http://www.howtoforge.com/forums/showthread.php?t=7508

    On the other hand it could just be simply a matter of making the right entries in mydnsconfig. Has anyone experienced this before?
     
    Last edited: May 14, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Only if you want to host domain.com on ns1.domain.com and ns2.domain.com. But then you also need a glue record: http://en.wikipedia.org/wiki/Dns#Circular_dependencies_and_glue_records

    That's the glue record problem again.

    You must use hostnames, except for glue records where you need an IP address.
     
  3. voipfc

    voipfc New Member

    After considering the message carefully it appears that glue records are not the problem. I am not using ns.domain.com as the dns server for domain.com

    It appears that when dnsreport queries the dns server it expects A records as well when it queries. I am using mydns with mydnsconfig and I wonder what entries I have to make. Does the preference/priority column have something to do with that?

     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, you must create A records for your ns entries as well. The priority column is for MX records only, not for A records.

    I wonder why it says
    x.x.x.x and y.y.y.y should be hostnames, not IP addresses.
     

Share This Page