Repository navigation
Description
systemd version the issue has been seen with
239
Used distribution
Manjaro Testing
Expected behaviour you didn't see
keep dnssec active for all external dns servers even after a local non-dnssec capable dns server has been contacted
Unexpected behaviour you saw
all dnssec gets deactivated once a local hostname has been resolved
Steps to reproduce the problem
I have configure systemd-resolved to use dnssec:
[Resolve]
#DNS.WATCH w/ dnssec:
#https://dns.watch/
DNS=84.200.69.80 84.200.70.40
# fallback from CCC
FallbackDNS=194.150.168.168
#Domains=
#LLMNR=yes
#MulticastDNS=yes
DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=udp
Local, private, hostnames are resolved via my Fritzbox DSL router (192.168.32.1). So that the status after systemd-resolved is started looks like this:
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 84.200.69.80
DNS Servers: 84.200.69.80
84.200.70.40
Fallback DNS Servers: 194.150.168.168
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 2 (enp0s31f6)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 192.168.132.1
DNS Servers: 192.168.132.1
Even the Fritzbox is showing as supporting dnssec. But that is not true.
At the beginning resolving external hostnames is working just fine with dnssec. But as soon as the first local hostname is resolved, all dnssec is downgraded. A simple "ping fritz.box" is triggering this:
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: no
Current DNS Server: 84.200.69.80
DNS Servers: 84.200.69.80
84.200.70.40
Fallback DNS Servers: 194.150.168.168
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 2 (enp0s31f6)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: no
Current DNS Server: 192.168.132.1
DNS Servers: 192.168.132.1
Shouldn't systemd-resolved only downgrade the Fritzbox and keep dnssec active for the external DNS servers?
Activity
MarcelWaldvogel commentedon Sep 20, 2019
Why is it anyway that the Fritz!Box is considered not to support DNSSEC?
dig @127.0.0.53 dnssec-deployment.org +dnssecdoes not return theRRSIG, whiledig @fritz.box dnssec-deployment.org +dnssecdoes.Could it be that DNSSEC would not need to be deactivated at all here?
allisonkarlitskaya commentedon Apr 21, 2020
I see this problem on Debian 10 (buster) with Version: 241-7~deb10u3
allisonkarlitskaya commentedon Apr 21, 2020
fwiw:
resolvectl reset-server-featuresresets the "DNSSEC supported" flag.resolved: never go below DNSSEC feature level in DNSSEC strict mode
resolved: never go below DNSSEC feature level in DNSSEC strict mode
resolved: never go below DNSSEC feature level in DNSSEC strict mode
SoapGentoo commentedon Apr 3, 2021
@poettering FYI
but I'm still getting these DNSSEC downgrades with my Fritz Box.