Automatic updates to internal views of slave zones?
Mark Andrews
marka at isc.org
Sat Dec 25 21:52:47 UTC 2010
In message <20101225003155.190583m63kr3o7zg at bitis.umrk.nl>, Jaap Winius writes:
> Quoting Mark Andrews <marka at isc.org>:
>
> > You can just have the internal view transfer from the external view.
> >
> > key external {
> > ....
> > };
> >
> > view internal {
> > match-clients { !key external; 127.0.0.1; .... };
> > zone xxx {
> > type slave;
> > masters { 127.0.0.1 key external; .....};
> > file "internal/xxx";
> > };
> > };
> >
> > view external {
> > match-clients { key external; any; };
> > zone xxx {
> > type slave;
> > masters { .... };
> > file "external/xxx";
> > notify explict;
> > also-notify { 127.0.0.1; };
> > allow-transfer { key external; .... };
> > };
> > };
>
> This configuration works, but seems to have one drawback: the "notify
> explicit" statement appears to have no effect. Instead, in this case
> it works like the default, "notify yes." Consequently, soon after this
> slave receives a NOTIFY message from the master, it proceeds to send
> NOTIFY messages to all the other slaves, including the localhost, each
> time resulting in numerous "refused notify from non-master" errors
> that shows up in the logs.
>
> Is there a way to prevent this behavior -- to get "notify explicit" to
> work the way it usually does -- or is this a bug?
It's the internal view that is sending the notify messages, add a "notify no;"
to the internal view.
> Thanks,
>
> Jaap
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list