LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Proper way to add secondary DNS to public zone? (https://www.linuxquestions.org/questions/linux-networking-3/proper-way-to-add-secondary-dns-to-public-zone-758995/)

reverendryan 10-01-2009 10:49 AM

Proper way to add secondary DNS to public zone?
 
Yesterday the hosting provider (lets call them HOSTINGPROVIDER.com) that hosts the website and public DNS for the school (I'll call it SCHOOL.org) I work at was completely out. As a result, no one could send us email or use our other on-campus-hosted services. My boss told me "don't let this happen again".

I've set up a secondary DNS server here on campus, and it's doing the zone transfer just fine. What I haven't done yet, and am a little afraid to do lest I take our DNS down again, is alter our DNS servers at our registrar.

How do I add the new server into the pool without creating a circular reference? The software at the registrar won't let me add an IP address.

Right now our DNS servers are ns1.HOSTINGPROVIDER.com and ns2.HOSTINGPROVIDER.com. If I create ns1.SCHOOL.org and set that as one of our servers both at our registrar and in the zone (ie, IN NS ns1.SCHOOL.org), how does that actually get resolved if ns1.HOSTINGPROVIDER.com and ns2.HOSTINGPROVIDER.com go down?

To make it a little clearer, here is the relevant part of the existing zonefile:
Code:

SCHOOL.org    IN SOA  ns1.HOSTINGPROVIDER.com. person.HOSTINGPROVIDER.com. (
  200812291  ; serial
  1800      ; refresh (30 minutes)
  600        ; retry (10 minutes)
  604800    ; expire (1 week)
  3600      ; minimum (1 hour)
  )
  NS      ns1.HOSTINGPROVIDER.com.
  NS      ns2.HOSTINGPROVIDER.com.

And here's what I'd like it to be:
Code:

SCHOOL.org    IN SOA  ns1.HOSTINGPROVIDER.com. person.HOSTINGPROVIDER.com. (
  200812291  ; serial
  1800      ; refresh (30 minutes)
  600        ; retry (10 minutes)
  604800    ; expire (1 week)
  3600      ; minimum (1 hour)
  )
  NS      ns1.HOSTINGPROVIDER.com.
  NS      ns2.HOSTINGPROVIDER.com.
  NS      ns1.SCHOOL.org.

ns1 A    10.0.0.0


But what do I put in the domain registration for SCHOOL.org to make it work?

reverendryan 10-01-2009 12:24 PM

http://faq.domainmonster.com/dns/glue_record/ seems to suggest that what I want to do is correct, and that the registrar will take care of the recursion problem automagically.

Is this correct?


All times are GMT -5. The time now is 10:28 PM.