secondary nameserver for subdomains and notify messages to itself

2011-07-08 Thread fddi

Hello,
I have primary DNS server for TLD domain mydomain.org which is also a 
secondary  DNS server for many other subdomains like

domainX.mydomain.org



this name server IP Address is 131.x.y.z  domain is mydomain.org ang his 
hostname is server2.mydomain.org


he si serving as secondary the domains:

domain1.mydomain.org
domain2.mydomain.org
domain3.mydomain.org

and so on...

in the log file I see that I have many notify messages from itself for 
the subdomains (domain1,domain2,domain3...)


for example for subdomain  domain1.mydomain.org I have the following logs

Jul  8 16:56:29 server2 named[27607]: zone domain1.mydomain.org/IN: 
loaded serial 2003043171
Jul  8 16:56:31 server2 named[27607]: zone domain1.mydomain.org/IN: 
sending notifies (serial 2003043171)
Jul  8 16:56:35 server2 named[27607]: client 131.x.y.z#31030: received 
notify for zone 'domain1.mydomain.org'
Jul  8 16:56:35 server2 named[27607]: zone domain1.mydomain.org/IN: 
refused notify from non-master: 131.x.y.z#31030



in named.conf I have

zone domain1.mydomain.org {
type slave;
file for/domain1.mydomain.org;
masters {
192.a.b.c;
};
};

so it is correct to have log files with notifies from 192.a.b.c but 
anyway the DNS mail server keeps notifying itself
that he is not master for the subdomain... how to avoid these useless 
notification ?


thank you

Rick



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: secondary nameserver for subdomains and notify messages to itself

2011-07-08 Thread Tony Finch
fddi f...@gmx.it wrote:

 how to avoid these useless notification ?

notify master-only

Tony.
-- 
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Viking: Easterly, becoming variable, 3 or 4. Slight or moderate. Rain or
thundery showers. Good, occasionally poor.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: secondary nameserver for subdomains and notify messages to itself

2011-07-08 Thread Chris Buxton
On Jul 8, 2011, at 8:10 AM, fddi wrote:

 Hello,
 I have primary DNS server for TLD domain mydomain.org which is also a 
 secondary  DNS server for many other subdomains like
 domainX.mydomain.org
 
 this name server IP Address is 131.x.y.z  domain is mydomain.org ang his 
 hostname is server2.mydomain.org
 
 he si serving as secondary the domains:
 
 domain1.mydomain.org
 domain2.mydomain.org
 domain3.mydomain.org
 
 and so on...
 
 in the log file I see that I have many notify messages from itself for the 
 subdomains (domain1,domain2,domain3...)

What version of BIND are you using? I recall this behavior from BIND 9.3, but 
not from BIND 9.4 onward unless you defeat the automatic disabling of 
notifications to self.

This behavior is basically harmless, but if you want to disable it, set this in 
your options block:

notify master-only;

This requires BIND 9.4+, as I recall. Or set this in every slave zone statement:

notify no;

Regards,
Chris Buxton
BlueCat Networks
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users