bind 9 multiple masters setup

Torinthiel torinthiel at data.pl
Wed Jan 12 21:27:11 UTC 2011


On 01/12/11 16:13, dev null wrote:
> Hello,
> 
> I have most of this worked out but I intend to setup bind in a
> multiple master manner.
> 
> This makes me question a few things:
> 
> 1. What can I use for the SOA MNAME? In the off chance a box may die,
> I am thinking of using a VIP which contains the multiple masters
> within it. However I am not sure how this would affect NOTIFY. So can
> I use a VIP or do I just use one of the master DNS boxes in the SOA
> MNAME field?

It's mostly ignored. All resolvers go for the NS records at the zone
apex, not for MNAME. Even if the server named in MNAME dies, it won't
affect resolving. You just rebuild that machine, or even build another
one and change slaves to get data from new master.


> 2. With that said, I intend to use rndc to push out DNS changes,
> should I worry about using a VIP still? I may need to use both and
> NOTIFY seems like it is more built-in so I want to keep rndc and
> NOTIFY going.

Isn't it simplier to just let BIND do it's job? When master loads a
changed zone, it sends NOTIFY messages to slaves, and slaves seeing that
they have outdated zone files download the zone from master.
rndc can only tell BIND (either master or slave) to initiate that
connection, it can't change zones by itself.
You could of course copy zone files to slaves by some means (rsync?
scp?) and then rndc reload the slave, but
a) why?
b) it really isn't a slave anymore, at least not in DNS terms.
Torinthiel



More information about the bind-users mailing list