Article 5GZJQ [SOLVED] ubuntu 18.4 /etc/resolver.conf disappeared

[SOLVED] ubuntu 18.4 /etc/resolver.conf disappeared

by
PoleStar
from LinuxQuestions.org on (#5GZJQ)
Hi,

I deleted /etc/resolver.conf, Now even after restarting systemd-resolver it wont come back.

Meanwhile all nslookup searches come back with error.

Code:18_4:~# nslookup -vv www.google.com
;; Connection to 127.0.0.1#53(127.0.0.1) for www.google.com failed: connection refused.
;; Connection to ::1#53(::1) for www.google.com failed: connection refused.
note: I am able to update ubuntu by putting archive/security urls in hosts files.

Code:18_4:~# ubuntu-support-status
Support status summary of 'aaubuntu18_4':

You have 516 packages (100.0%) supported until April 2023 (Canonical - 5y)

You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more detailsI wonder how to fix the issue now.

Thank youlatest?d=yIl2AUoC8zA latest?i=0shbAhzdVoo:fFSkqdgEeY8:F7zBnMy latest?i=0shbAhzdVoo:fFSkqdgEeY8:V_sGLiP latest?d=qj6IDK7rITs latest?i=0shbAhzdVoo:fFSkqdgEeY8:gIN9vFw0shbAhzdVoo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments