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


  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Temporary failure in name resolution
« on: October 23, 2021, 12:23:21 pm »
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"
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.


  • Zen Warrior
  • ***
  • Posts: 155
  • Karma: +14/-0
    • View Profile
Re: Temporary failure in name resolution
« Reply #1 on: October 25, 2021, 10:45:32 am »

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".