[Samba] dns update with bind9 is not working

Patrik alabard at gmail.com
Tue May 18 11:01:45 UTC 2021


sometimes i get this error:
May 18 13:01:05 p3x-dc samba[7880]:   /usr/sbin/samba_dnsupdate: Exception:
Timeout while waiting to contact a working DNS server while looking for A
server.p3x-dc.patrikx3.com 192.168.78.20 as server.p3x-dc.patrikx3.com.
May 18 13:01:05 p3x-dc samba[7880]: [2021/05/18 13:01:05.894608,  0]
../../source4/dsdb/dns/dns_update.c:85(dnsupdate_nameupdate_done)
May 18 13:01:05 p3x-dc samba[7880]:   dnsupdate_nameupdate_done: Failed DNS
update with exit code 1

when i ping server.p3x-dc.patrikx3.com it works...


*Patrik*
WWW <https://patrikx3.com> | GitHub <https://github.com/patrikx3/> | NPM
<https://www.npmjs.com/~patrikx3> | Corifeus <https://corifeus.com> | +36
20 342 8046



On Tue, May 18, 2021 at 12:03 PM Rowland penny via samba <
samba at lists.samba.org> wrote:

> 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
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list