resolvconf not working in both Ubuntu and PoP!_OS
by lleb from LinuxQuestions.org on (#5P7Q4)
https://www.ricmedia.com/set-permane...n-resolv-conf/
Following this link, that has worked great for me in the past, but after updating a laptop to
Code:$ uname -a
Linux oldlap 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linuxand my workstation to
Code:$ uname -a
Linux pop-os 5.11.0-7633-generic #35~1630100930~21.04~ae2753e-Ubuntu SMP Mon Aug 30 18:26:54 UTC x86_64 x86_64 x86_64 GNU/LinuxCode:$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 192.168.0.16 # Ohio DNS PI Hole
user 192.168.0.6 # Ohio IP Scheme
oldlap 192.168.0.168 # Ohio IP Scheme
knife 192.168.0.125 # Ohio IP Scheme
nameserver 127.0.0.53
search localdomain
options edns0 trust-adCode:$ sudo systemctl status resolvconf.service
[sudo] password for user:
resolvconf.service - Nameserver information manager
Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2021-09-06 07:37:43 EDT; 9h ago
Docs: man:resolvconf(8)
Main PID: 23491 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 38337)
Memory: 0B
CGroup: /system.slice/resolvconf.service
Sep 06 07:37:43 pop-os systemd[1]: Started Nameserver information manager.Code:$ cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 192.168.0.16 # Ohio DNS PI Hole
user 192.168.0.6 # Ohio IP Scheme
oldlap 192.168.0.168 # Ohio IP Scheme
knife 192.168.0.125 # Ohio IP Schemeboth the old laptop and my workstation have the same setup in resolvconf as well as /etc/resolv.conf is getting populated correctly. both have been rebooted and still internal dns does not work.
Code:$ ssh user@oldlap
ssh: Could not resolve hostname rayoldlap: No address associated with hostnameCode:$ ssh user@192.168.0.168
user@192.168.0.168's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-27-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
2 updates can be applied immediately.
2 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Mon Sep 6 17:17:32 2021 from 192.168.0.62so as you can see DNS internals are not functioning. On my one laptop that has not been updated tot he latest release resovlconf still works fine without issue.
What more information do you require so I can help you help me?
Thank you in advance.
Following this link, that has worked great for me in the past, but after updating a laptop to
Code:$ uname -a
Linux oldlap 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linuxand my workstation to
Code:$ uname -a
Linux pop-os 5.11.0-7633-generic #35~1630100930~21.04~ae2753e-Ubuntu SMP Mon Aug 30 18:26:54 UTC x86_64 x86_64 x86_64 GNU/LinuxCode:$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 192.168.0.16 # Ohio DNS PI Hole
user 192.168.0.6 # Ohio IP Scheme
oldlap 192.168.0.168 # Ohio IP Scheme
knife 192.168.0.125 # Ohio IP Scheme
nameserver 127.0.0.53
search localdomain
options edns0 trust-adCode:$ sudo systemctl status resolvconf.service
[sudo] password for user:
resolvconf.service - Nameserver information manager
Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2021-09-06 07:37:43 EDT; 9h ago
Docs: man:resolvconf(8)
Main PID: 23491 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 38337)
Memory: 0B
CGroup: /system.slice/resolvconf.service
Sep 06 07:37:43 pop-os systemd[1]: Started Nameserver information manager.Code:$ cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 192.168.0.16 # Ohio DNS PI Hole
user 192.168.0.6 # Ohio IP Scheme
oldlap 192.168.0.168 # Ohio IP Scheme
knife 192.168.0.125 # Ohio IP Schemeboth the old laptop and my workstation have the same setup in resolvconf as well as /etc/resolv.conf is getting populated correctly. both have been rebooted and still internal dns does not work.
Code:$ ssh user@oldlap
ssh: Could not resolve hostname rayoldlap: No address associated with hostnameCode:$ ssh user@192.168.0.168
user@192.168.0.168's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-27-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
2 updates can be applied immediately.
2 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Mon Sep 6 17:17:32 2021 from 192.168.0.62so as you can see DNS internals are not functioning. On my one laptop that has not been updated tot he latest release resovlconf still works fine without issue.
What more information do you require so I can help you help me?
Thank you in advance.