Trying to reproduce this error:
I did:
$ lxc launch ubuntu-daily:artful
$ lxc exec relaxed-fly bash
Edited /run/systemd/network/10-netplan-eth0.network to become:
[Match]
Name=eth0
[Network]
DHCP=ipv4
DNS=fe80::307e:12ff:fec4:90ba
[DHCP]
UseMTU=true
RouteMetric=100
UseDNS=no
where fe80... address is the right address for the lxd host provided
dnsmasq.
Then I restarted everything:
$ sudo systemctl restart systemd-networkd systemd-resolved
$ systemd-resolve --flush-caches
$ ip link set dev eth0 down
$ ip link set dev eth0 up
# systemd-resolve --status eth0
Link 28 (eth0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: fe80::307e:12ff:fec4:90ba
DNS Domain: lxd
# systemd-resolve google.com
google.com: 216.58.204.46%eth0
2a00:1450:4009:80d::200e%eth0
-- Information acquired via protocol DNS in 26.2ms.
-- Data is authenticated: no
# host google.com
google.com has address 216.58.204.46
google.com has IPv6 address 2a00:1450:4009:80d::200e
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
Looks like a correct and valid responses to me.
This is with 234-2ubuntu12.1
Seems like it works correctly. I do wonder, if the bug here is that
systemd-resolved is not up yet, and is not responding on dbus and/or
over 127.0.0.53 at the point in time? I.e.
https://bugs.launchpad.net/ubuntu/artful/+source/systemd/+bug/1734167
which is currently awaiting verification.
I'll try to revert the docker.io upload you did locally; and rerun all
of these tests again; to see if i can make this work again.
** Changed in: systemd (Ubuntu)
Status: Confirmed => Incomplete
** Changed in: systemd (Ubuntu Artful)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718771
Title:
Incorrect handling of link-local IPv6 DNS servers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1718771/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs