My Server has issues to Resolve Domains "Unknown host"

If your server has problems resolving domains Error "unkown host domain.com" (mostly with OVH servers) , just change the DNS server.

Open resolv.conf

Debian 9 / CentOS

nano /etc/resolv.conf

Debian 10 / Ubuntu

sudo nano /etc/resolv.conf

remove the existing Nameservers and replace with this.

nameserver 8.8.8.8
nameserver 1.1.1.1

 

After this Save editings with CTRL + O and press enter, then press CTRL + X to close Nano Editor.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

putenv() has been disabled for security reasons

This PHP Function is disabled on some Servers by Default, so you have to activate it. in aaPanel...

Powered by WHMCompleteSolution