Comment 4 for bug 1819625

Revision history for this message
Bruno (bruno-42) wrote :

No vpn - DNS resolver broken by update (on production server)

bug@test:~$ 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 127.0.0.53
search ~~cut~~.intern lxd
options edns0

### ----------

bug@test:~$ systemd-resolve --status
Global
         DNS Servers: 10.176.0.1
                      10.176.0.2
                      10.168.127.126
          DNS Domain: ~~cut~~.intern
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
~~ cut ~~

Link 3 (lxdbr0)
      Current Scopes: DNS
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: 10.145.28.1
          DNS Domain: lxd

### ----------

bug@test:~$ lxc launch ubuntu:18.04 ub18-1
Creating ub18-1
Starting ub18-1

### ----------

bug@test:~$ dig ub18-1.lxd
;; ANSWER SECTION:
ub18-1.lxd. 600 IN A 10.145.28.214
;; SERVER: 127.0.0.53#53(127.0.0.53)

### ----------

bug@test:~$ sudo apt-get upgrade
The following packages will be upgraded:
  resolvconf
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Preparing to unpack .../resolvconf_1.79ubuntu10.18.04.1_all.deb ...
Processing triggers for resolvconf (1.79ubuntu10.18.04.1) ...

### ----------

bug@test:~$ 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 10.176.0.1
nameserver 10.176.0.2
nameserver 10.168.127.126
search ~~cut~~.intern lxd

### ----------

bug@test:~$ dig ub18-1.lxd
;; QUESTION SECTION:
;ub18-1.lxd. IN A
;; SERVER: 10.176.0.1#53(10.176.0.1)

### ----------

# temporary fix:

bug@test:~$ wget http://de.archive.ubuntu.com/ubuntu/pool/universe/r/resolvconf/resolvconf_1.79ubuntu10_all.deb
bug@test:~$ sudo dpkg --install resolvconf_1.79ubuntu10_all.deb
bug@test:~$ dig ub18-1.lxd
;; ANSWER SECTION:
ub18-1.lxd. 600 IN A 10.145.28.214

;; Query time: 1 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)