sysytemd-resolved automatically use an ipv6 dns server on lan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
i installed focal from the netboot version mini.iso.
i encountered some problem on dsn configuration and i found that systemd-resolved was using an ipv6 dns address
this is my netplan configuration:
network:
version: 2
renderer: networkd
ethernets:
ens3:
addresses:
- 192.168.1.1/24
gateway4: 192.168.1.212
nameservers:
search: [xxx.com]
this is the output of "systemd-resolved --status"
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNSSEC NTA: 10.in-addr.arpa
Link 2 (ens3)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: fe80::6670:
DNS Servers: 192.168.1.191
DNS Domain: xxx.com
--
as you can see systemd is using the ipv6 dns server.
i found that such ip was the address of my openwrt wifi router. dnsmasq is disabled for ipv4 lan interface on the router and i never configured an ipv6 network. Anyway i disabled all the ipv6 dnsmasq feature on the router and after a restart this fixed the problem.
But i think that this is a bug.
In my netplan i never configured an ipv6 dns nor a ipv6 network; furthermore none of my other ubuntu bionic servers showed such a behaviour.
Also another focal netboot installation i made three weeks ago didn't show this problem.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
information type: | Private Security → Public |
Status changed to 'Confirmed' because the bug affects multiple users.