0

Hello dear ubuntu users,

I have a problem, that i can't resolve.

At the some time my ubuntu server (18.04.3 LTS) stopped to resolve the domain names. For the main job it is doing - i don't actually need it as i'm using ip addresses instead of host names, but i can't make any updates. I getting this error:

sudo apt-get update

Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Temporary failure resolving 'security.ubuntu.com'

As well if i try to ping any of the websites i get:

ping www.cnn.com
ping: www.cnn.com: Temporary failure in name resolution

As i'm running software, that is often need's to update, i have to go to and edit the file /etc/resolv.conf

There is only one line:

nameserver 127.0.0.1

If i change it to the gateway or isp nameserver, it works. But after reboot this file automaticaly modified again and again I see only one line with 127.0.0.1 all my changes are gone.

How do i deal with it?

Thank you.

Maythux
  • 84,289
raid8
  • 9

0 Answers0