We are using lxc Ubuntu 18.04 on proxmox -5.3-7.
Network configuration obtain through DHCP.
We have desactivate /etc/resolv.conf modification over proxmox to get DHCP DNS 
use:
touch .pve-ignore.resolv.conf

Everything line in /etc/resolv.conf is comment:
# cat /etc/resolv.conf
# --- BEGIN PVE ---
#search digicom.ca
#nameserver 8.8.8.8
# --- END PVE ---

Network status shown DNS entry is OK:
#networkctl status
●        State: routable
       Address: 172.16.8.23 on eth0
                fe80::a0c5:bbff:fe4f:bc on eth0
       Gateway: 172.16.8.1 (ICANN, IANA Department) on eth0
           DNS: 104.192.16.1
           NTP: 172.16.8.3
                104.192.20.4
                66.70.172.17

systemd-resolve works fine:

#systemd-resolve go.com
go.com: 23.236.60.174

-- Information acquired via protocol DNS in 1.3ms.
-- Data is authenticated: no

But resolve name using ping command or host failed:

# ping go.com
ping: go.com: Temporary failure in name resolution
# host go.com
;; connection timed out; no servers could be reached

The work around is to manually create a link to the systemd-resolve conf file:
mv /etc/resolv.conf /etc/resolv.conf.orig
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766969

Title:
  DNS cannot be resolved in Public / Hotel / Starbucks WiFi Hotspot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1766969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to