Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder if something like that is possible. To have one domain, handled by 2 DNS servers, master zones.

For example, I have the domain, on a registrar and I want to make and I want to have on VPS1 and on VPS2, both having a BIND installed, pointing to VPS3, where the website is hosted.

Can be done, like that ? To have 2 master zones for same domain, with one ns each, on different IP's, both pointing to another one.

share|improve this question

This is a standard approach for setting up DNS. Two DNS servers would be considered the minimum.

Usually you would nominate one as the master of the zone, and one as the slave.

The master config would look something like this:

zone "" {
        type master;
        allow-transfer { <slave IP>; };
        file "/etc/bind/pri/db.domain";


And the slave would look something like this:

zone "" {
       type slave;
       masters { <master ip>;};
        file "/etc/bind/sec/db.domain";


The slave will take updates from the master, so you only need to update the zone on the master and it will get copied to the slave.

share|improve this answer
Thank you, that makes sense. I will try to do that between several vps as dns backups. – Graphite Mar 20 '13 at 23:28

Your Answer


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.