Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: Pelle.Hanses on January 30, 2019, 09:59:56 pm

Title: SOLVED - DNS does not work
Post by: Pelle.Hanses on January 30, 2019, 09:59:56 pm
Hi,
I'm trying to use Zentyal 6 as DNS. It is not working. I have reinstalled the server several times with the same problem. Occasionally the DNS can resolve one name but then it stopps answering. I use the Hostname tab under DNS Domains to add the hostnames and their IP adresses.

Should Zentyal be able to act DNS server?

/Pelle
Title: Re: DNS does not woek
Post by: gabor.strama on January 31, 2019, 11:24:08 am
Hi!

Can you send some log to the forum?
Can you try to restart the DNSmodule over the management page, what happened?

Regards Gábor Strama
Title: Re: DNS does not woek
Post by: Pelle.Hanses on February 01, 2019, 11:23:04 pm
I have restarted the DNS module with no luck.
Which log files can be of interest?

/Pelle
Title: Re: DNS does not woek
Post by: gabor.strama on February 02, 2019, 04:35:03 pm
Hi!

Zentyal internal log what is placed /var/log/zentyal/zentyal.log

Regards Gábor
Title: Re: DNS does not woek
Post by: pavlos on February 14, 2019, 07:42:56 pm
Zentyal 6.0.1 ... from syslog (my issue is that I cannot resolve local systems within my network, 10.0.0.*)

Feb 14 11:37:15 z1 named[4802]: client @0x7f30580420b0 127.0.0.1#52305/key zentyal-domain.lan: updating zone 'zentyal-domain.lan/NONE': update failed: rejected by secure update (REFUSED)
Feb 14 11:37:15 z1 named[4802]: samba_dlz: cancelling transaction on zone zentyal-domain.lan
Feb 14 11:37:15 z1 dhcpd[5035]: Unable to add forward map from quad.zentyal-domain.lan. to 10.0.0.24: REFUSED
Title: Re: DNS does not woek
Post by: Pelle.Hanses on March 01, 2019, 04:45:38 pm
Hi again, sorry for the late answer.
There were no problem with DNS in Zentyal. It was Ubuntu (client and server) - system2-resolved are enabled as standard in Ubuntu 17.10 and later versions. systemd-resolved finds DNS servers on their own and ignores the settings made on the server or via DHCP. After disable and removed systemd-resolved everything is working like expected.

/Pelle
Title: Re: SOLVED - DNS does not work
Post by: pavlos on March 01, 2019, 06:25:17 pm
@Pelle

systemd-resolved.service is disabled and not active, still I get those errors in /var/log/syslog

I cannot upload a screenshot ... the forum tells me the upload buffer is full.

Title: Re: SOLVED - DNS does not work
Post by: pavlos on March 02, 2019, 04:19:49 pm
/var/log/syslog says ...

Mar  2 08:14:37 z1 dhcpd[1420]: DHCPREQUEST for 10.0.0.44 from 4c:cc:6a:01:da:c8 (fx) via eth1
Mar  2 08:14:37 z1 dhcpd[1420]: DHCPACK on 10.0.0.44 to 4c:cc:6a:01:da:c8 (fx) via eth1
Mar  2 08:14:37 z1 named[1674]: samba_dlz: starting transaction on zone zentyal-domain.lan
Mar  2 08:14:37 z1 named[1674]: samba_dlz: spnego update failed
Mar  2 08:14:37 z1 named[1674]: client @0x7f45940ef460 127.0.0.1#37367/key zentyal-domain.lan: updating zone 'zentyal-domain.lan/NONE': update failed: rejected by secure update (REFUSED)
Mar  2 08:14:37 z1 named[1674]: samba_dlz: cancelling transaction on zone zentyal-domain.lan
Mar  2 08:14:37 z1 dhcpd[1420]: Unable to add forward map from fx.zentyal-domain.lan. to 10.0.0.44: REFUSED

systemctl status systemd-resolved.service
● systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
   Active: inactive (dead)