Hello @all: Calling DNS Update results in this failure: root at samba01:/# samba_dnsupdate --all-names Traceback (most recent call last): File "/usr/sbin/samba_dnsupdate", line 784, in <module> creds = get_credentials(lp) File "/usr/sbin/samba_dnsupdate", line 141, in get_credentials ans = check_one_dns_name(sub_vars['DNSDOMAIN'] + '.', 'NS') File "/usr/sbin/samba_dnsupdate", line 251, in check_one_dns_name ans = resolver.query(name, name_type) File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 912, in query raise_on_no_answer) File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 143, in __init__ raise NoAnswer dns.resolver.NoAnswer I'm stuck at that point currently. Updates via samba-tool work, but not via kerberos or samba it self: [2017/01/18 08:31:18.113146, 0] ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done) ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error code 110
Hi Dirk, Am 18.01.2017 um 08:51 schrieb Dirk Laurenz via samba:> [2017/01/18 08:31:18.113146, 0] > ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done) > > ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error code > 110Do you run the BIND9_DLZ or Internal_DNS back end? If it's BIND: https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End#Reconfiguring_the_BIND9_DLZ_Back_End Regards, Marc
it doesn't matter, problem is with both backends... Am 18.01.2017 um 18:03 schrieb Marc Muehlfeld:> Hi Dirk, > > Am 18.01.2017 um 08:51 schrieb Dirk Laurenz via samba: >> [2017/01/18 08:31:18.113146, 0] >> ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done) >> >> ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error >> code >> 110 > Do you run the BIND9_DLZ or Internal_DNS back end? > > If it's BIND: > https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End#Reconfiguring_the_BIND9_DLZ_Back_End > > > Regards, > Marc >
Hi, i tried this hint and after restart of bind9: Jan 20 13:58:08 samba02 named[10811]: Loading 'AD DNS Zone' using driver dlopen Jan 20 13:58:09 samba02 named[10811]: samba_dlz: started for DN DC=local,DC=laurenz,DC=ws Jan 20 13:58:09 samba02 named[10811]: samba_dlz: starting configure Jan 20 13:58:09 samba02 named[10811]: zone 2.168.192.in-addr.arpa/NONE: has no NS records Jan 20 13:58:09 samba02 named[10811]: samba_dlz: Failed to configure zone '2.168.192.in-addr.arpa' Jan 20 13:58:09 samba02 named[10811]: loading configuration: bad zone hmm bad luck... why got the PTR Zone lost....? Dirk Am 18.01.2017 um 18:03 schrieb Marc Muehlfeld:> Hi Dirk, > > Am 18.01.2017 um 08:51 schrieb Dirk Laurenz via samba: >> [2017/01/18 08:31:18.113146, 0] >> ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done) >> >> ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error code >> 110 > Do you run the BIND9_DLZ or Internal_DNS back end? > > If it's BIND: > https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End#Reconfiguring_the_BIND9_DLZ_Back_End > > > Regards, > Marc
L.P.H. van Belle
2017-Jan-20 14:21 UTC
[Samba] DNS Update not working after update to 4.5.3
I suspect a zone overlap. Did you add an extra zone manualy in bind? Or something like this... You added : Zone1.Domain.TLD and then Domain.TLD But then with the reverse zones. Because this :> Jan 20 13:58:09 samba02 named[10811]: zone 2.168.192.in-addr.arpa/NONE: > has no NS recordsDoes not look likes the samba_DLZ log lines but a pure bind log line. Review you bind config and remove any manualy added zones. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dirk Laurenz via > samba > Verzonden: vrijdag 20 januari 2017 13:58 > Aan: Marc Muehlfeld; samba at lists.samba.org > Onderwerp: Re: [Samba] DNS Update not working after update to 4.5.3 > > Hi, > > > i tried this hint and after restart of bind9: > > > Jan 20 13:58:08 samba02 named[10811]: Loading 'AD DNS Zone' using driver > dlopen > Jan 20 13:58:09 samba02 named[10811]: samba_dlz: started for DN > DC=local,DC=laurenz,DC=ws > Jan 20 13:58:09 samba02 named[10811]: samba_dlz: starting configure > Jan 20 13:58:09 samba02 named[10811]: zone 2.168.192.in-addr.arpa/NONE: > has no NS records > Jan 20 13:58:09 samba02 named[10811]: samba_dlz: Failed to configure > zone '2.168.192.in-addr.arpa' > Jan 20 13:58:09 samba02 named[10811]: loading configuration: bad zone > > hmm bad luck... why got the PTR Zone lost....? > > > Dirk > > > Am 18.01.2017 um 18:03 schrieb Marc Muehlfeld: > > Hi Dirk, > > > > Am 18.01.2017 um 08:51 schrieb Dirk Laurenz via samba: > >> [2017/01/18 08:31:18.113146, 0] > >> ../source4/dsdb/dns/dns_update.c:290(dnsupdate_nameupdate_done) > >> > >> ../source4/dsdb/dns/dns_update.c:290: Failed DNS update - with error > code > >> 110 > > Do you run the BIND9_DLZ or Internal_DNS back end? > > > > If it's BIND: > > > https://wiki.samba.org/index.php/BIND9_DLZ_DNS_Back_End#Reconfiguring_the_ > BIND9_DLZ_Back_End > > > > > > Regards, > > Marc > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba