Portal Home > Knowledgebase > Connection Problems > Temporary failure resolving problem

Temporary failure resolving problem

If you are having "Temporary failure resolving" error when you update your operating system. Please do the following:

1. Login to SSH
2. Edit the resolved.conf file (nano /etc/systemd/resolved.conf)
3. Uncomment the #DNS= line. (Remove the # in the front of the line)
4. Add your DNS resolver. Example: DNS=8.8.8.8
5. Save the file (CTRL+X and then Y)
6. Restart the resolver (
service systemd-resolved restart)

Alternatively run the following command on SSH:

 
sed -i 's/#DNS=/DNS=8.8.8.8/' /etc/systemd/resolved.conf && service systemd-resolved restart
Was this answer helpful?
My VPS shows offline and I cannot start it. What to do?

If your VPS is offline and you cannot start it, please use My VPS Is Down option in Submit Ticket...

I have cPanel. Why can't I login via SSH or WHM?

This is most likely cPHulk at work, which works to protect your cPanel installation from being...

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

The SSH installation on your VPS has a host key that is generated on deployment for your VPS....

My Port XXX is closed. Can you open it?

The following ports are blocked/filtered by default, and to preserve network quality, cannot be...

Commands to allow SSH access in common firewalls

If you've recently installed a firewall in your server and have suddenly lost access or after a...