0

I want to configure 4 dns server using bind. Is there any problem to configure all of them as master with no dns transfer.

# server one
zone "example1.com" {
    type master;
    file "example1.com.zone";
    allow-update { none; };
    allow-transfer { none; };
};

# server two
zone "example1.com" {
    type master;
    file "example1.com.zone";
    allow-update { none; };
    allow-transfer { none; };
};

files example1.com.zone are exact same data.

  • 1
    There is no issue. Snippily I would say your issue is the person in front of the computer, making a bad configuration. We could help you - if you would bother providing enough details. – TomTom Jan 14 '16 at 10:02

2 Answers2

3

If you make sure you have your synchronisation under control outside of BIND, there is no problem with this.

Habbie
  • 755
  • 3
  • 9
3

The advantage of zone transfers (AXFR/IXFR) is that it's a standardized way for nameservers to synchronize zone data.
It uses the same on-wire format for records that the nameservers need to support for regular responses, so there is no reliance on specific file formats, etc.

The implication of this is two-fold:

  • The slave server already knows what is going on (it initiated the transfer) and will not need further interaction to reload data from files.
  • There is no requirement that master and slave are the same nameserver implementation or even use the same form of storage for zone data.

That said, if all the servers are running BIND (preferably same or similar version) and no dynamic updates or similar are used (does not seem like a good approach to handle journals in this way), it should cause no issues to have multiple master servers if you ensure the files are properly synchronized and reloaded.

Håkan Lindqvist
  • 35,011
  • 5
  • 69
  • 94