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.
If you make sure you have your synchronisation under control outside of BIND, there is no problem with this.
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:
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.