Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: hopt on October 23, 2021, 12:23:21 pm

Title: Temporary failure in name resolution
Post by: hopt on October 23, 2021, 12:23:21 pm
Hello.
I've started testing Zentyal as a solution for my business. I am not the most knowledgeable in regards to networking or sysadmin.
I think I have found an error in Zentyal behavior. I have documented the process, i have been able to reliably replicate this on a hardware machine as well as a Virtualbox.
TLDR: After setting up a Static IP and marking the network card as the WAN adapter, you have to edit /etc/resolv.conf to add a nameserver that works.

1) I edited /etc/resolv.conf , added "nameserver 8.8.8.8"
2) restarted the service sudo systemctl restart systemd-resolved.service
3) It should work now

I do not know enough to know why this happens. but it can make less tech savvy users like myself struggle, or even abandon Zentyal from the get-go.
Title: Re: Temporary failure in name resolution
Post by: turalyon on October 25, 2021, 10:45:32 am
Hi,

When you lost the content of the '/etc/resolv.conf', the proper way to fix it is restarting the network module instead of editing yourself that configuration file. Zentyal should be able to generate again the content, however, sometimes I had to restart twice the module to recover the content.

Code: [Select]
sudo zs network restart

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".