[Samba] dns update with bind9 is not working

Rowland penny rpenny at samba.org
Tue May 18 10:03:10 UTC 2021


On 18/05/2021 10:40, Patrik via samba wrote:
> As I start the bind9 service all work it shows:
> May 18 11:32:49 p3x-dc named[515735]: Loading 'AD DNS Zone' using driver
> dlopen
> May 18 11:32:49 p3x-dc named[515735]: samba_dlz: started for DN
> DC=p3x-dc,DC=patrikx3,DC=com
> May 18 11:32:49 p3x-dc named[515735]: samba_dlz: starting configure
> May 18 11:32:49 p3x-dc named[515735]: samba_dlz: configured writeable zone '
> p3x-dc.patrikx3.com'
> May 18 11:32:49 p3x-dc named[515735]: samba_dlz: configured writeable zone
> '_msdcs.p3x-dc.patrikx3.com'
> May 18 11:32:49 p3x-dc named[515735]: none:102: 'max-cache-size 90%' -
> setting to 28633MB (out of 31814MB)
> May 18 11:32:49 p3x-dc named[515735]: obtaining root key for view
> internal-enp1s0f3 from '/etc/bind/bind.keys'
> May 18 11:32:49 p3x-dc named[515735]: set up managed keys zone for view
> internal-enp1s0f3, file
> '5674904fa710122a641c7076461c76afc1eb2059904e3c9151796da905312484.mkeys'
> May 18 11:32:49 p3x-dc named[515735]: automatic empty zone: view
> internal-enp1s0f3: 10.IN-ADDR.ARPA
>
> But as I restart the samba active directory. i get this error:
> May 18 11:33:53 p3x-dc samba[516177]: [2021/05/18 11:33:53.188152,  0]
> ../../source4/dsdb/dns/dns_update.c:85(dnsupdate_nameupdate_done)
> May 18 11:33:53 p3x-dc samba[516177]:   dnsupdate_nameupdate_done: Failed
> DNS update with exit code 110
>
> I missed this error as in my samba config i removed the dns_update service,
> and i think i was getting the old ip address as the dns update service was
> missing. Now, I added this service into samba config, i get the above error.
>
> What it could be?


Can you post your named.conf files, I do not think yours are set up 
correctly, you do not seem to have 'empty-zones-enable no' for one thing.

Rowland





More information about the samba mailing list