Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: bau.miao on December 11, 2019, 12:07:09 pm

Title: DNS doesn't work via shell
Post by: bau.miao on December 11, 2019, 12:07:09 pm
I have Zentyal 6 installed on my server.
Between the various modules I have these turned on:
- dns
- Domain controller and file sharing
- network

and these turned off:
- dhcp.

I have set up my dns server like a transparent dns (and I don't know why i can't switch it off).

If I connect via ssh to Zentyal none dns hostname are resolved.

My resolv.conf contain:
nameserver 127.0.0.1
search DOMAINNAME.com

I have tried to change it with specific dns server, but it doesn't work.

I add that the system works good until around 1 month ago and no changes are been applied.

My labs client have no problem with dns request.

This problem is tedious because lock me every system update...


Any idea?
Title: Re: DNS doesn't work via shell
Post by: doncamilo on December 11, 2019, 01:42:13 pm
 :)

Your resolv.conf seems to me correct. The domain of search parameter is established in the Network module and it should be commited to /etc/resolv.conf. If this parameter (optional) isn't configured you have to use the FQDN of your hosts.

(https://i.ibb.co/nPDC41M/resolf-conf.png) (https://ibb.co/1z96BXG)
(https://i.ibb.co/pW88HC3/interfaz-zentyal-dom-b-squeda.png) (https://ibb.co/9wLLxRq)

Cheers!

Title: Re: DNS doesn't work via shell
Post by: bau.miao on December 12, 2019, 08:23:00 pm
Hi Doncamilo,

DOMAINNAME.com is not my parameter, I have change the real value before post.
Title: Re: DNS doesn't work via shell
Post by: doncamilo on December 16, 2019, 03:20:39 pm
 :)

But, you are able to resolve if you use the FQDN?

Cheers!