Public bug reported:
In systemd 249, I can have the stub resolver listen for DNS queries on
both IPv4 and IPv6. In systemd 255, as packaged in Ubuntu 24.04, this no
longer works, and only IPv4 queries are answered. I configure the
following in /etc/systemd/resolved.conf:
[Resolve]
DNSStubListenerExtra=[::1]:53
And then run the following:
% dig +short -6 -t AAAA @::1 example.com
;; communications error to ::1#53: timed out
;; communications error to ::1#53: timed out
;; communications error to ::1#53: timed out
;; no servers could be reached
The same command on a system running systemd 249 with the same
configuration, works:
% dig +short -6 -t AAAA @::1 example.com
2606:4700::6812:1a78
2606:4700::6812:1b78
Note that on both systems all record types including AAAA can be queried
over IPv4, this is specifically to do with the local transport between
the client and resolved.
Note also that on both systems resolved is correctly listening on the
configured addresses, however on the system running systemd 255 it does
not respond to queries submitted over ::1:
% sudo lsof -i :53 -n -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 2420261 systemd-resolve 14u IPv4 17893820 0t0 UDP
127.0.0.53:53
systemd-r 2420261 systemd-resolve 15u IPv4 17893821 0t0 TCP
127.0.0.53:53 (LISTEN)
systemd-r 2420261 systemd-resolve 16u IPv4 17893822 0t0 UDP
127.0.0.54:53
systemd-r 2420261 systemd-resolve 17u IPv4 17893823 0t0 TCP
127.0.0.54:53 (LISTEN)
systemd-r 2420261 systemd-resolve 18u IPv6 17893824 0t0 UDP [::1]:53
systemd-r 2420261 systemd-resolve 19u IPv6 17893825 0t0 TCP [::1]:53
(LISTEN)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: systemd 255.4-1ubuntu8.11
ProcVersionSignature: Ubuntu 6.8.0-87.88-generic 6.8.12
Uname: Linux 6.8.0-87-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Dec 21 20:35:27 2025
InstallationDate: Installed on 2023-02-13 (1043 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64
(20220809.1)
MachineType: Framework Laptop (12th Gen Intel Core)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/usr/bin/zsh
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-87-generic
root=/dev/mapper/vgubuntu-root ro rootflags=subvol=@ quiet splash
module_blacklist=hid_sensor_hub nvme.noacpi=1 vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to noble on 2024-09-14 (463 days ago)
dmi.bios.date: 12/25/2023
dmi.bios.release: 3.8
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 03.08
dmi.board.asset.tag: *
dmi.board.name: FRANMACP04
dmi.board.vendor: Framework
dmi.board.version: A4
dmi.chassis.asset.tag: FRANDACPA42471003T
dmi.chassis.type: 10
dmi.chassis.vendor: Framework
dmi.chassis.version: A4
dmi.modalias:
dmi:bvnINSYDECorp.:bvr03.08:bd12/25/2023:br3.8:svnFramework:pnLaptop(12thGenIntelCore):pvrA4:rvnFramework:rnFRANMACP04:rvrA4:cvnFramework:ct10:cvrA4:skuFRANDACP04:
dmi.product.family: 13in Laptop
dmi.product.name: Laptop (12th Gen Intel Core)
dmi.product.sku: FRANDACP04
dmi.product.version: A4
dmi.sys.vendor: Framework
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136976
Title:
DNSStubListenerExtra=[::1]:53 stopped working
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2136976/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs