H
H
Human2016-09-30 19:51:31
linux
Human, 2016-09-30 19:51:31

Is a bind9 slave needed at all?

Hello.
We all know about blah blah blah and all that.
In short, 2 servers on different machines, ns1 and ns2
Do I need to make one master, the other slave?
As far as I remember, this was not cool at all in the bearded ones (they seemed to replicate via udp)
If I use this:

[[email protected] script]# cat sync_zones.sh
scp /var/named/somedomain.com.zone [email protected]:/var/named/ && ssh [email protected] "chown named:named /var/named/somedomain.com.zone && rndc reload somedomain.com"

It seems to me simple, understandable, normal and unproblematic.
But how is it really?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
V
Vladimir, 2016-09-30
@MechanID

AXFR happens over TCP, and the slave regularly checks the master itself (compares the serial numbers in the SOA record) in case the notify suddenly fails, so everything is quite reliable.
but if you have 1-2 domains and updates in zones are rare, then in your case you probably don't need it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question