how does Bind choose which master to xfer from?

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Sat Jun 3 00:39:24 UTC 2000


> Hi.
> 
> if I have:
> 
> zone "foo.com" {
>         type slave;
>         file "data/db.foo";
>         masters {
>                 10.1.1.1;
>                 172.17.1.1;
>         };
> };
> 
> which master will my secondary do the xfer from?  And does the order I
> list the masters matter?  I think I remember (from reading the code)
> that it'll do an SOA query to all masters listed and do the xfer from
> the one with the least RTT.  Is this true?  If so, is there a way to
> control this behviour:  i.e. I want my slave to always do (or try) an
> xfer from the first master listed even if its RTT is greater.
> 
> As always, any help is appreciated.
> 
> -- 
> Anthony
> 
> 
	It will query all masters in order.  When it finds one with a newer
	version of the zone than the slave currently has it start a zone
	transfer.

	Mark
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list