Redundant and Free Domain Name Service with EditDNS + EveryDNS

Tagged in

After EveryDNS and EditDNS's outage, I have finally got my act together to have this redundant and free DNS running for some of my domains. I know both EveryDNS and EditDNS have 4 geographically separated servers, however during the event when the vendor is targeted for DDoS, I am still suffering downtime when their servers stuggle to stay alive. Therefore, instead of having your zone resiting on only one free DNS provider, you can get your domain hosted by both of them. Therefore just in case all servers of one provider get DDoS'ed, your domain can still stay visible on the net as the servers from the other provider are still answering requests.

The idea is to have one as primary DNS, and the other one as secondary. I am using EditDNS as primary because I found their interface easier to work with than EveryDNS's.

Alright. Here are the steps.

1. Setting up Primary DNS at EditDNS

Go to EditDNS and sign up an account if you haven't. Then add a new domain:

Add a new domain at EditDNS

Your new domain will then be added. Now add appropriate A, CNAME and MX records to your domain like how you would customise your DNS zone.

2. Add EveryDNS's Name Servers

After you have set up your domain, add EveryDNS's name servers as NS records to your domains. EveryDNS's name servers are ns1.everydns.net, ns2.everydns.net, ns3.everydns.net and ns4.everydns.net -- add them as NS records, and you should get the following zone records:

After adding EveryDNS's name servers to zone

Your domain should now have 8 NS records, half of them belonging to EditDNS, and half of them belonging to EveryDNS.

3. Enable AXFR Transfer

In order to let EveryDNS do zone transfer from EditDNS, you need to change the "AXFR Transfer" setting. Click on "Change", and put in the value 64.158.219.3.

Enabling AXFR transfer setting

That IP address is where EveryDNS will initiate the transfer.

4. Set up Secondary Name Servers at EveryDNS

Now go to EveryDNS, create an account if you haven't, and try to add a new domain. Make sure the radio box "Make domain secondary" has been checked, and use ns1.editdns.net as master name server.

Setting secndary name server at EveryDNS

Note that EveryDNS will not try to poll the primary DNS, EditDNS in this case, straight away. Usually it takes at most one hour before AXFR is taken place, and the secondary synchronised with the primary.

5. Set up Name Servers at Domain Registrar

The last step involves changing the list of name servers at your domain registrar. All all NS from EditDNS and EveryDNS onto the list. I use NameCheap for this domain.

Set up name server at NameCheap

Save, and all done! It might take a while for the changes to propagate. But now you have 8 name servers over 2 different providers serving your domain. If one goes down, the other stays alive and will continue to resolve your domain name for all your visitors.

Comments

Gravatar

I think you have a typo; should it be editdns.net (not .com)?

Gravatar

Fixed. Thanks.

Gravatar

Good write-up. Thanks for using our service! (… and sorry for the outage!)

Gravatar

The only problem with using this method is that DNS Report does not recommend it. This is because the regulations limit the amount of nameservers you should have to only seven, but this method uses either in all. I do not know if there are any consequences to this besides the fact WHOIS data may be outdated due to this. Otherwise, I don’t know why it’s limited.

Other issues include the fact that EveryDNS will gather the information from the secondary/backup DNS every four-eight hours, which can cause confusion between DNSs.

Personally, I used just EditDNS because of the features.. but should I try your method and ignore DNS Report’s warnings/errors?

  • Jared
Gravatar

Jared — I think that really depends on how much you value the result of DNS Report I guess :) Personally I take the report with a grain of salt. For example, lacking SPF record gets you a warning, but I have been having nothing but troubles with SPF record for some of my domains, especially when emails can be generated from various different servers scattered all over the net.

Also there is no requirement that you MUST use all 4 NS from EditDNS and all 4 NS from EveryDNS. If you want to limit the number of NS records to 7, you can just use 3 from EveryDNS instead. I think EveryDNS is fine as long as you have ns1 and ns2 in the parent record.

As of sync’ing between primary and secondary DNS, I think EveryDNS doesn’t work on the serial ID basis because serial ID is really broken, so it just does a zone transfer every hour. EditDNS also always sets serial ID to 1.

Anyway. Plenty of “broken” DNS out there from DNS Report point of view. Lucky that most clients are very tolerant so everything still works.

Gravatar

Would you mind to tell me how to Setting up Primary DNS at EveryDNS & Set up Secondary Name Servers at EditDNS.

I use google App and I have set up DNS at everyDNS. If you can tell me how to Set up Secondary Name Servers at EditDNS, I will very appreciate.

Thanks in advance.

Gravatar

I got answer in EditDNS eSupport. Thanks anyway.

Gravatar

good writeup… I have just followed this for my domain….. you may like to update edittdns NS names as now they have .us. and .eu. ones which are valid… though that would be an extra effort….. :) thanks for the tip…

Post new comment

The content of this field is kept private and will not be shown publicly.

More information about formatting options