So I have systemd-resolved in a debian 13 environment configured as following:
[Resolve]
DNS=8.8.8.8
DNSSEC=allow-downgrade
DNSOverTLS=opportunistic
DNSStubListener=yes
DNSStubListenerExtra=172.26.95.1
ReadEtcHosts=yes
Now the weird part. Immediately after startup, everything works fine. However after some time has passed the following symptoms begins:
- everything that uses glibc resolver times out or hangs, so basically everything in the system doesnt work. (
/etc/resolv.confpoints to systemd-resolved's stub resolver) resolvectl queryworks fine- specifying other dns server in nslookup works fine. Otherwise it tries to use the stub resolver on
127.0.0.53which times out. 127.0.0.54works fine- Request from other machines in the subnet (as enabled with
DNSStubListenerExtra=172.26.95.1) works fine