Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Where to store you DNS entries?

Do it yourself DNS, or use third partiy services

         

lammert

1:16 pm on Feb 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



At this moment all my websites are on shared hosting accounts with different hosting providers. I am planning to move them to one dedicated server, but have some questions about how to manage the DNS entries. I have currently registered the domains with three different registrars (because not all registrars support all ccTLDs). I see three possible ways to manage the DNS entries for the new dedicated box:

1) Use the DNS server of the registrar. In this case I add the A and MX records of my dedicated box to the DNS server of the registrar. Two of the three registrars support this, the third one only supports this if the websites are hosted with them on a shared hosting package, not with a dedicated server somewhere in the field.

2) Setup a DNS server on my dedicated box. I have done this before on intranets, so technically this is no problem for me, but I am affraid that when the box crashes, also the DNS info will become unavailable.

3) Use a third party DNS service which manages the DNS entries and--in the perfect situation--has backup DNS servers at more than one geographical location.

What would you recommend me? Please don't recommend specific companies. I would like to limit the discussion to these three methods of DNS management, rather than talking about good or bad experiences with specific service providers.

stu2

11:45 pm on Feb 11, 2006 (gmt 0)

10+ Year Member



Well of course, any of these will work. Personally I'd prefer 3) Thirdy party DNS with backup servers. That way you can manage all your domains using a similar interface which is the disadvantage of option 1.

gpmgroup

12:24 am on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



3 because it is registrar independent and makes changing registrar a very easy.

2 is bad DNS is supposed to be on 2 separate machines from the server. Also if the server IP address changes and DNS stays the same only the IP address in the 3rd party DNS changes therefore faster propagation.

bose

1:14 am on Feb 12, 2006 (gmt 0)

10+ Year Member



If you feel comfortable doing it yourself, I would highly recommend setting up your own DNS server, and using one or more remote (third-party?) dns servers as secondary/backup/caching DNS servers. Doing so allows you to be in complete control, while providing you the redundancy you need.

If you have a dedicated box, most Colo and IP transit providers would usually provide backup DNS services at no extra cost to you. If not, have someone else (a friend?) remotely mirror your zones on his/her servers for you. Setup for doing is usually quite easy -all you have to do is add that remote host to your list of nameservers authorized to pull (zone xfer) your zone data over.

It is usually a good idea to use multiple dns hosts that are on (geographically) disjoint multihomed networks.

lammert

9:43 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



bose, I like the idea you proposed. By having the DNS zone files on my own box I have full control over them, and the additional server on another location provides the necessary redundancy. In this way you get the availability of a third party DNS provider with the flexibility of having everything under control.

Now I have to find that friend with a dedicated server... :)

bose

12:24 am on Feb 14, 2006 (gmt 0)

10+ Year Member



Now I have to find that friend with a dedicated server... :)

Actually, that is exactly how it used work in good old days. Admins helped one another bolster their DNS setup by mirroring each other's zones on their servers. Doing so for a fellow admin was considered to be a polite/good thing to do.

jtara

8:27 pm on Feb 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's a good reason NOT to use your webserver as a DNS server: if your server is down, you can't switch to another server!

This may not effect 99% of webmasters. But if you are running a commerce site, and you are doing significant business, you will want to have backup.

Even a more modest site may want to provide a "the server is down" message on an alternate server.

Many third-party DNS hosts have a monitoring service, that peridically checks your site to see if it is active. If it is not, it can automatically switch to a backup server.

There is another option (that I still don't recommend...) that hasn't been mentioned. And that's to use your own server (maybe your web server, maybe some other server) as the "master", and have secondaries, where the master is NOT one of your registered nameservers. It's "hidden", and not used for resolving names, but is the source of data for your actual nameservers.

The advantage is that you are not limited (as you might be in some cases) by a third-party user interface that may not include all record types or options, and you can switch from one secondary provider to another without regard to their user inteface. (Learn how to work your own config files once, and not have to re-learn if you switch.)

The secondary servers could be mutual agreements as suggested here earlier, or commercial DNS providers. The latter usually have this as an option, often at a lower price.