Secondarying DLZ zones

Rich Goodson rgoodson at gronkulator.com
Tue Sep 8 13:27:23 UTC 2015


Robert,

Try setting the “Refresh” value in your SOA record to 3600.  RFC1912 recommends refresh values between 1200 and 43200.  If notify messages are not working, I’d set it to 20 or 30 minutes, myself.  if the zone is unchanged, all it costs you is one SOA query by the slave.  Just make sure to modify the rest of your SOA values to be reasonable with your 20 or 30 minute refresh time. 

-Rich

> On Sep 7, 2015, at 3:09 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
> 
> On the Samba list, I was told that it is working (bug from2 years ago, still open, was fixed):
> 
> https://bugzilla.samba.org/show_bug.cgi?id=9634
> 
> But Notify does not work:
> 
> "yes it does work. But the DLZ bind will not notify any slaves, when the repository changes. This can be painful, especially for longer TTL values."
> 
> Is there some way to get the secondary to check frequently, like once an hour?
> 
> On 09/07/2015 03:12 PM, Robert Moskowitz wrote:
>> It seems I have this working, but...
>> 
>> I have a regular Centos7 Bind 9.9 server that I want to secondary a Samba AD (Also Centos7) DLZ zone.
>> 
>> On the DNS server (192.168.192.5) I have:
>> 
>>        zone "home.htt" {
>>                type slave;
>>                file "slaves/bak.home.htt";
>>                masters {192.168.192.2; };
>>        };
>> 
>> On the Samba AD I have:
>> 
>> dlz "AD DNS Zone" {
>>    # For BIND 9.9.x
>>     database "dlopen /usr/lib/samba/bind9/dlz_bind9_9.so";
>> };
>> 
>> And it seems works.
>> 
>> On 192.168.192.2 I saw:
>> 
>> Sep  7 14:00:05 homebase named[1133]: client 192.168.192.5#51888 (home.htt): transfer of 'home.htt/IN': AXFR started
>> Sep  7 14:00:05 homebase named[1133]: client 192.168.192.5#51888 (home.htt): transfer of 'home.htt/IN': AXFR ended
>> 
>> 
>> On the DNS server, 192.168.192.5, I can resolve hosts in the home.htt zone.
>> 
>> But there is no slaves/bak.home.htt file.  Perhaps my notes are old from when I did this some years back (and static master zone), but I would think that there should be the slaves/bak.home.htt file?
>> 
>> I also need to implement Notify for changes to the home.htt zone.
>> 
>> thanks
>> 
>> 
>> _______________________________________________
>> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>> 
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
>> 
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 



More information about the bind-users mailing list