Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: steven191 on December 18, 2017, 07:36:19 am

Title: DNS updates (dynamic DNS) not working
Post by: steven191 on December 18, 2017, 07:36:19 am
Hello Forum,

I have a Zentyal 5.0.10 and DNS updates of my dynamic domain do not work. It can be seen for example whenever a DHCP lease is given, that forwarding to DNS does not work:
Code: [Select]
Dec 16 21:24:32 MyHostName samba[2707]: [2017/12/16 21:24:32.208146,  0] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Dec 16 21:24:32 MyHostName samba[2707]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Dec 16 21:24:38 MyHostName named[2107]: samba_dlz: starting transaction on zone MY-DOMAIN.local
Dec 16 21:24:38 MyHostName named[2107]: samba_dlz: spnego update failed
Dec 16 21:24:38 MyHostName named[2107]: client 127.0.0.1#33589/key MY-DOMAIN.local: updating zone 'MY-DOMAIN.local/NONE': update failed: rejected by secure update (REFUSED)
Dec 16 21:24:38 MyHostName named[2107]: samba_dlz: cancelling transaction on zone MY-DOMAIN.local
Dec 16 21:24:38 MyHostName dhcpd[1884]: DHCPREQUEST for 192.168.20.117 from ff:ee:11:22:33:44 (Brads-iPhone-7) via eth0
Dec 16 21:24:38 MyHostName dhcpd[1884]: DHCPACK on 192.168.20.117 to ff:ee:11:22:33:44 (Brads-iPhone-7) via eth0
Dec 16 21:24:38 MyHostName dhcpd[1884]: Unable to add forward map from Brads-iPhone-7.MY-DOMAIN.local. to 192.168.20.117: REFUSED
I already saw this thread https://forum.zentyal.org/index.php/topic,31202.0.html where the problem seems to be solved, but the solution involves some kind of "hacking" Zentyals scripts.
I'm hesitating to apply this, if there's one thing I have learned from Zentyal that it can get completely broken astonishingly fast.

One user even states that he has the same problem on a fresh install of 5.0.10, so I wonder if there is a general problem?
The only thing I could find is this several months old ticket in the bug tracker:
https://tracker.zentyal.org/issues/5257

Any updates on that? Are there more people facing this issue?
Title: Re: DNS updates (dynamic DNS) not working
Post by: mrpsycho on April 10, 2018, 11:43:09 am
+1 with same bug
Title: Re: DNS updates (dynamic DNS) not working
Post by: mrpsycho on November 19, 2018, 01:42:12 pm
still same on 6.0
Title: Re: DNS updates (dynamic DNS) not working
Post by: Neustradamus on November 19, 2018, 05:20:23 pm
The Redmine is dead and no archives, what was in https://tracker.zentyal.org/issues/5257?

It is linked to https://github.com/zentyal/zentyal/issues/1814?
If not please create an issue here: https://github.com/zentyal/zentyal/issues/

Title: Re: DNS updates (dynamic DNS) not working
Post by: mrpsycho on November 20, 2018, 02:58:20 pm
@Neustradamus, there were bug and logs.

and yes, i've read #1814 (https://github.com/zentyal/zentyal/issues/1814), but for me it look like problem in DNS overall. like #1817 (https://github.com/zentyal/zentyal/issues/1817)