I upgraded from 20.04 to 22.04 last night. Besides taking a long time all seemed to go well with no errors. All looked good on initial boot until I tried going to the Internet. I am able to ping ip numbers, but no DNS. I saw this post, but not sure what the fix is. Any recommendations? More details below:
Then...As I am collecting data from the various resolv files as I try various connection, my resolv file fixed itself. So I rebooted and the problem returned.
After reboot:
$ resolvectl status
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stubLink 2 (enp1s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupportedLink 3 (wlp2s0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 172.98.193.42
DNS Servers: 172.98.193.42 198.206.14.241
When working:
$ resolvectl status
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stubLink 2 (enp1s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupportedLink 3 (wlp2s0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
DNS Domain: hsd1.fl.comcast.net
I can temporarily fix the issue by switching between network connections, but that is a band-aid. And I have no idea where 172.98.193.42 198.206.14.241 came from. Any recommendations for a fix?