Author Topic: Temporary failure in name resolution  (Read 113 times)

hopt

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Temporary failure in name resolution
« 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.

turalyon

  • Zen Apprentice
  • *
  • Posts: 42
  • Karma: +11/-0
    • View Profile
Re: Temporary failure in name resolution
« Reply #1 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".