Если в Вашем Ubuntu 20.04, resolve.confуказывает на петлю:
sudo cat /run/systemd/resolve/resolv.conf
nameserver 127.0.0.53 option sedns0 trust-ad
или:
$ ss -plnt | grep':53'
LISTEN 04096 127.0.0.53%lo:53 0.0.0.0:*
Используйте resolvectl чтобы показать статус для интерфейсов:
resolvectl status
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (eno1)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.0.1
DNS Servers: 192.168.0.1 8.8.8.8 fe80::52ff:20ff:fe8d:e4d0%24261
Link 3 (tun0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported