You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Link 2 (ens3)
Current Scopes: DNS
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: opportunistic
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
8.8.4.4
192.168.122.1
Resolving some domains works fine:
$ resolvectl query www.facebook.com
www.facebook.com: 157.240.22.39
(star-z-mini.c10r.facebook.com)
-- Information acquired via protocol DNS in 756.3ms.
-- Data is authenticated: no
And:
$ resolvectl query www.google.com
www.google.com: 216.58.195.68
-- Information acquired via protocol DNS in 94.6ms.
-- Data is authenticated: no
But this one fails, hangs for a long time and finally times out:
Issue #9283 looks similar (same error message), not sure if it's a dupe somehow... cc @yuwata and @irtimmer.
Thanks!
Filipe
Reacted by sarum9in, Konstantin K, Jeff Carpenter, Jonas Witschel, marianrh, Cody Schafer, Ory Band, Nigel Kukard, Daniel Wyatt, Tinu Weber and 30 more
I see two problems here that I don't really understand:
DNSKEY lookup took a long time, started at 23:10:27 and only got the keys at 23:11:14, not sure why that is, if I query the resolver directly with host -t dnskey gnu.org 8.8.8.8 I seem to get a response right away... After the entries are cached, if I query it again, I get the "DNSSEC validation failed: failed-auxiliary" error right away.
The log has some "Found verdict ...: insecure" lines, at that point, after it gets the DNSKEY. Assuming that that's indeed correct, and that DNSSEC is actually not configured correctly for this domain... Shouldn't "DNSSEC setting: allow-downgrade" mean it ought to fall back to using non-DNSSEC lookups?
UPDATE: I tried the lookup again. This time, it seems the entries just expired, so a new lookup was stuck again for a while. I seem to reproduce the delay fairly consistently too. But this time the lookup eventually succeeded. This time lookup of DNSKEY took from 23:38:30 to 23:39:23. The verdicts were all insecure. But it ended up replying with an IN A address for the domain.
Ping? I can still reproduce this one, as of current master (v239-751-g49cdae63d168). Any ideas what might be going wrong here?
I can try to check back when this actually worked (if it actually has worked before) and try to bisect to see where the problem was introduced... Will try to do that now.
I wonder if this is fixed by #11194 or not... Will try to see if I can still reproduce it on HEAD and, if so, check #11194 on top of it to see whether that fixes this too...
I think that the core issue is that while the gnu.org. zone is signed, they haven't set up a DS record to be published by org., and because of this org. returns a NSEC3 "proving" that it's not signed. This seems to trip up resolved when it discovers that gnu.org. actually is signed.
I'm wondering if other DNSSEC clients/implementations also have trouble with gnu.org. domains...
In other words: Is this a resolved bug? Or is this an actual problem with the way gnu.org. set up their DNSSEC and rejecting their domains is the proper approach here?
Pragmatically, what can we do about it? Currently I have disabled resolving through resolved on my machines, since not being able to checkout git repos from savannah.gnu.org is a problem I'd rather not live with right now...
I'm wondering if other DNSSEC clients/implementations also have trouble with gnu.org. domains...
No, I asked a gf it she can ping savannah.gnu.org from her Win7, and everything is fine. Meanwhile, I have the problem on both of my Archlinux machines.
It's an ugly workaround, but I have the offending domains hardcoded in /etc/hosts, which works.
That is ugly, and even uglier for low-TTL domains :-)
The fact of the matter is that 90% -- or 99% -- of the time DNSSEC validation failures right now are false negatives. Unless there is appropriate tooling in place to deal with these, many people simply won't turn it on. I had it on for only a few weeks to experiment with, and I just turned it off -- more hassle than its worth in my relatively low-risk environment. I'd like to be able to leave it on though, if I could a) add a whitelist, and b) report the false negatives somewhere where someone would actually do something about them.
This should not be required if just validation fails on selected domains. Use Negative Trust Anchors, read man 5 dnssec-trust-anchors.d about that. It should help.
I have Red Hat support access, but I doubt a solution for it is there. If you want better DNSSEC validation, give unbound or dnsmasq a try instead.
One thing that would be nice is if I could exclude individual domains by configuration from DNSSEC checking. As it stands right now, as far as I know I have to turn off DNSSEC completely in order to resolve this one single domain (so far) that I am having issues with.
This should not be required if just validation fails on selected domains. Use Negative Trust Anchors, read man 5 dnssec-trust-anchors.d about that. It should help.
Nice @pemensik , that was easy! I simply created /etc/dnssec-trust-anchors.d/sts-sky-blackbaud-com.negative containing the name of the domain name sts.sky.blackbaud.com, and after a restart [1] systemd-resolved now resolves the domain perfectly.
Stopped systemd-resolved.service - Network Name Resolution.
Starting systemd-resolved.service - Network Name Resolution...
Positive Trust Anchors:
. IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.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.>
Using system hostname 'daniel-desktop3'.
Started systemd-resolved.service - Network Name Resolution.
Setting log level to debug.
Sent message type=method_return sender=n/a destination=:1.5908 path=n/a interface=n/a member=n/a cookie=17 reply_cookie=2 signature=n/a error-name=n/a error-message=n/a
Got message type=method_call sender=:1.5909 destination=org.freedesktop.resolve1 path=/org/freedesktop/resolve1 interface=org.freedesktop.resolve1.Manager member=ResolveHostname>
idn2_lookup_u8: example.duckdns.org → example.duckdns.org
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixProcessID cookie=18 r>
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=13 reply_cookie=18 signature=u error-name=n/a error-messa>
D-Bus hostname resolution request from client PID 604991 (n/a) with UID 4294967295
Looking up RR for example.duckdns.org IN A.
Looking up RR for example.duckdns.org IN AAAA.
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=19 reply_cookie=0 sign>
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetNameOwner cookie=20 reply_cookie=0 >
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=15 reply_cookie=20 signature=s error-name=n/a error-messa>
enp39s0: Switching to DNS server 192.168.3.1.
Switching to system DNS server 8.8.8.8#dns.google.
Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/resolve1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=21 reply_cookie=0 si>
Cache miss for example.duckdns.org IN A
Firing regular transaction 391 for <example.duckdns.org IN A> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 391.
Using DNS server 8.8.8.8#dns.google for transaction 391.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 391.
Announcing packet size 1472 in egress EDNS(0) packet.
Cache miss for example.duckdns.org IN AAAA
Firing regular transaction 59490 for <example.duckdns.org IN AAAA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 59490.
Using DNS server 8.8.8.8#dns.google for transaction 59490.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 59490.
Announcing packet size 1472 in egress EDNS(0) packet.
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=14 reply_cookie=19 signature=n/a error-name=n/a error-mes>
Match type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.5909' successfully installed.
Processing incoming packet of size 64 on transaction 391 (rcode=SUCCESS).
Verified we get a response at feature level TLS+EDNS0+DO from DNS server 8.8.8.8#dns.google.
Requesting SOA to validate transaction 391 (example.duckdns.org, unsigned non-SOA/NS RRset <example.duckdns.org IN A 84.249.67.149>).
Cache miss for example.duckdns.org IN SOA
Firing regular transaction 31999 for <example.duckdns.org IN SOA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 31999.
Using DNS server 8.8.8.8#dns.google for transaction 31999.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 31999.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 99 on transaction 31999 (rcode=SUCCESS).
Requesting DS to validate transaction 31999 (duckdns.org, unsigned SOA/NS RRset).
Cache miss for duckdns.org IN DS
Firing regular transaction 42179 for <duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 42179.
Using DNS server 8.8.8.8#dns.google for transaction 42179.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 42179.
Announcing packet size 1472 in egress EDNS(0) packet.
Requesting DS (→ example.duckdns.org) to validate transaction 31999 (example.duckdns.org, unsigned empty SOA/NS response).
Cache miss for example.duckdns.org IN DS
Firing regular transaction 36621 for <example.duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 36621.
Using DNS server 8.8.8.8#dns.google for transaction 36621.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 36621.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 786 on transaction 42179 (rcode=SUCCESS).
Requesting DNSKEY to validate transaction 42179 (org, RRSIG with key tag: 61110).
Cache miss for org IN DNSKEY
Firing regular transaction 15664 for <org IN DNSKEY> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 15664.
Using DNS server 8.8.8.8#dns.google for transaction 15664.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 15664.
Announcing packet size 1472 in egress EDNS(0) packet.
Requesting DNSKEY to validate transaction 42179 (gdtpongmpok61u9lvnipqor8lra9l4t0.org, RRSIG with key tag: 61110).
Requesting DNSKEY to validate transaction 42179 (6fab725nvaq3den222549c33aceptsil.org, RRSIG with key tag: 61110).
Requesting parent SOA (→ org) to validate transaction 42179 (duckdns.org, signed empty DS response).
Cache miss for org IN SOA
Firing regular transaction 57820 for <org IN SOA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 57820.
Using DNS server 8.8.8.8#dns.google for transaction 57820.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 57820.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 895 on transaction 15664 (rcode=SUCCESS).
Requesting DS to validate transaction 15664 (org, DNSKEY with key tag: 35418).
Cache miss for org IN DS
Firing regular transaction 16279 for <org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 16279.
Using DNS server 8.8.8.8#dns.google for transaction 16279.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 16279.
Announcing packet size 1472 in egress EDNS(0) packet.
Requesting DS to validate transaction 15664 (org, DNSKEY with key tag: 26974).
Requesting DS to validate transaction 15664 (org, DNSKEY with key tag: 61110).
Processing incoming packet of size 277 on transaction 57820 (rcode=SUCCESS).
Requesting DNSKEY to validate transaction 57820 (org, RRSIG with key tag: 61110).
Processing incoming packet of size 367 on transaction 16279 (rcode=SUCCESS).
Requesting DNSKEY to validate transaction 16279 (org, RRSIG with key tag: 46780).
Cache miss for . IN DNSKEY
Firing regular transaction 13555 for <. IN DNSKEY> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 13555.
Using DNS server 8.8.8.8#dns.google for transaction 13555.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 13555.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 1139 on transaction 13555 (rcode=SUCCESS).
Requesting DS to validate transaction 13555 (., DNSKEY with key tag: 11019).
Requesting DS to validate transaction 13555 (., DNSKEY with key tag: 46780).
Requesting DS to validate transaction 13555 (., DNSKEY with key tag: 20326).
Validating response from transaction 13555 (. IN DNSKEY).
Looking at . IN DNSKEY 256 3 RSASHA256 AwEAAcEtWatIO3exfN3A+WnZl7AVEBA3crRrrwKTfnmcdLt79C3D
COF1JX5zb4s84v0OxwlOVg+TR8VpkuYynMp3PQXLomLxe7j7Plxq
EBo1LQaWfqyymCuF7rKebTLB5yZcr8/QUPwk/weLyguX6iVNDjIZ
OmeMqPkGJtDFp+EUfKgOa8AulKPLtsUL1W+1FT8sqroSxKXVXnhk
EZN1O1zBxTG/z9xjwiPcd3//LSPUpEC9+rU2XIuCJq8nwAwJ7W6R
c49RxUT0Svc57HKqHjNuapvG0PCYh3bXCQzb7mb2pNwuerMFTzP5
iEzXWZD7izLg9j3wEJ2Ia/WIEts/Tp9GIQM=
-- Flags: ZONE_KEY
-- Key tag: 11019: validated
Found verdict for lookup . IN DNSKEY: secure
Added positive authenticated confidential cache entry for . IN DNSKEY 7200s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for . IN DNSKEY 7200s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for . IN DNSKEY 7200s on enp39s0/INET/8.8.8.8
Regular transaction 13555 for <. IN DNSKEY> on scope dns on */* now complete with <success> from network (authenticated; confidential).
Validating response from transaction 16279 (org IN DS).
Looking at org IN DS 26974 8 2 4fede294c53f438a158c41d39489cd78a86beb0d8a0aeaff14745c0d16e1de32: validated
Found verdict for lookup org IN DS: secure
Added positive authenticated confidential cache entry for org IN DS 7200s on enp39s0/INET/8.8.8.8
Regular transaction 16279 for <org IN DS> on scope dns on */* now complete with <success> from network (authenticated; confidential).
Validating response from transaction 15664 (org IN DNSKEY).
Looking at org IN DNSKEY 256 3 RSASHA256 AwEAAd60OkyWGp/fBiwPxz+fVSIzTDK/VGlGU7ZleVfQTN46kx
thF/xCIlze600lcjihGmhIfMgk+ydJpJ+vZJe3qW/W69Ma/6VV
vhRwgqaYiYvv4fsJSEtVPh5aRVtKQenH2sekAtxjx4N9j1Mlyx
jPknFekXBsj+0mZq7uu4uKOBat
-- Flags: ZONE_KEY
-- Key tag: 35418: validated
Found verdict for lookup org IN DNSKEY: secure
Added positive authenticated confidential cache entry for org IN DNSKEY 863s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for org IN DNSKEY 863s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for org IN DNSKEY 863s on enp39s0/INET/8.8.8.8
Regular transaction 15664 for <org IN DNSKEY> on scope dns on */* now complete with <success> from network (authenticated; confidential).
Validating response from transaction 57820 (org IN SOA).
Looking at org IN SOA a0.org.afilias-nst.info hostmaster.donuts.email 1696522129 7200 900 1209600 3600: validated
Found verdict for lookup org IN SOA: secure
Added positive authenticated confidential cache entry for org IN SOA 710s on enp39s0/INET/8.8.8.8
Regular transaction 57820 for <org IN SOA> on scope dns on */* now complete with <success> from network (authenticated; confidential).
Validating response from transaction 42179 (duckdns.org IN DS).
Looking at gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3 1 1 0 332539ee7f95c32a GDTREA8KMJ2RNEQEN4M2OGJ26KFSUKJ7 ( NS SOA RRSIG DNSKEY NSEC3PARAM ): validated
Found verdict for lookup gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3: secure
Looking at 6fab725nvaq3den222549c33aceptsil.org IN NSEC3 1 1 0 332539ee7f95c32a 6FADC05OLAPNGL3AF6SIH8A1KUJJ0KAE ( NS DS RRSIG ): validated
Found verdict for lookup 6fab725nvaq3den222549c33aceptsil.org IN NSEC3: secure
Looking at org IN SOA a0.org.afilias-nst.info hostmaster.donuts.email 1696524770 7200 900 1209600 3600: validated
Found verdict for lookup org IN SOA: secure
Data is NSEC3 opt-out via NSEC/NSEC3 for transaction 42179 (duckdns.org IN DS)
Found verdict for lookup duckdns.org IN DS: insecure
Added positive authenticated confidential cache entry for gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3 3145s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for org IN SOA 1345s on enp39s0/INET/8.8.8.8
Not caching negative entry for: duckdns.org IN DS, cache mode set to no-negative
Regular transaction 42179 for <duckdns.org IN DS> on scope dns on */* now complete with <success> from network (unsigned; confidential).
Processing incoming packet of size 112 on transaction 59490 (rcode=SERVFAIL).
Server returned error SERVFAIL, retrying transaction.
Retrying transaction 59490.
Cache miss for example.duckdns.org IN AAAA
Firing regular transaction 59490 for <example.duckdns.org IN AAAA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 59490.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 59490.
Announcing packet size 1472 in egress EDNS(0) packet.
Regular transaction 59490 for <example.duckdns.org IN AAAA> on scope dns on */* now complete with <invalid-reply> from none (unsigned; non-confidential).
Processing incoming packet of size 222 on transaction 36621 (rcode=SERVFAIL).
Server returned error SERVFAIL, retrying transaction.
Retrying transaction 36621.
Cache miss for example.duckdns.org IN DS
Firing regular transaction 36621 for <example.duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 36621.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 36621.
Announcing packet size 1472 in egress EDNS(0) packet.
Regular transaction 36621 for <example.duckdns.org IN DS> on scope dns on */* now complete with <invalid-reply> from none (unsigned; non-confidential).
Auxiliary DNSSEC RR query failed with invalid-reply
[🡕] DNSSEC validation failed for question example.duckdns.org IN SOA: failed-auxiliary
Regular transaction 31999 for <example.duckdns.org IN SOA> on scope dns on */* now complete with <dnssec-failed> from network (unsigned; confidential).
Auxiliary DNSSEC RR query failed validation: failed-auxiliary
[🡕] DNSSEC validation failed for question example.duckdns.org IN A: failed-auxiliary
Regular transaction 391 for <example.duckdns.org IN A> on scope dns on */* now complete with <dnssec-failed> from network (unsigned; confidential).
Freeing transaction 59490.
Sent message type=error sender=n/a destination=:1.5909 path=n/a interface=n/a member=n/a cookie=22 reply_cookie=2 signature=s error-name=org.freedesktop.resolve1.InvalidReply er>
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RemoveMatch cookie=23 reply_cookie=0 s>
Freeing transaction 391.
Freeing transaction 31999.
Freeing transaction 42179.
Freeing transaction 57820.
Freeing transaction 15664.
Freeing transaction 16279.
Freeing transaction 13555.
Freeing transaction 36621.
Got message type=method_call sender=:1.5910 destination=org.freedesktop.resolve1 path=/org/freedesktop/resolve1 interface=org.freedesktop.resolve1.Manager member=ResolveHostname>
idn2_lookup_u8: example.duckdns.org → example.duckdns.org
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixProcessID cookie=24 r>
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=16 reply_cookie=24 signature=u error-name=n/a error-messa>
D-Bus hostname resolution request from client PID 604992 (n/a) with UID 4294967295
Looking up RR for example.duckdns.org IN A.
Looking up RR for example.duckdns.org IN AAAA.
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=25 reply_cookie=0 sign>
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetNameOwner cookie=26 reply_cookie=0 >
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=18 reply_cookie=26 signature=s error-name=n/a error-messa>
Cache miss for example.duckdns.org IN AAAA
Firing regular transaction 20058 for <example.duckdns.org IN AAAA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 20058.
Using DNS server 8.8.8.8#dns.google for transaction 20058.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 20058.
Announcing packet size 1472 in egress EDNS(0) packet.
Cache miss for example.duckdns.org IN A
Firing regular transaction 56167 for <example.duckdns.org IN A> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 56167.
Using DNS server 8.8.8.8#dns.google for transaction 56167.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 56167.
Announcing packet size 1472 in egress EDNS(0) packet.
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=17 reply_cookie=25 signature=n/a error-name=n/a error-mes>
Match type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.5910' successfully installed.
Processing incoming packet of size 64 on transaction 56167 (rcode=SUCCESS).
Requesting SOA to validate transaction 56167 (example.duckdns.org, unsigned non-SOA/NS RRset <example.duckdns.org IN A 84.249.67.149>).
Cache miss for example.duckdns.org IN SOA
Firing regular transaction 30409 for <example.duckdns.org IN SOA> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 30409.
Using DNS server 8.8.8.8#dns.google for transaction 30409.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 30409.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 99 on transaction 30409 (rcode=SUCCESS).
Requesting DS to validate transaction 30409 (duckdns.org, unsigned SOA/NS RRset).
Cache miss for duckdns.org IN DS
Firing regular transaction 49135 for <duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 49135.
Using DNS server 8.8.8.8#dns.google for transaction 49135.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 49135.
Announcing packet size 1472 in egress EDNS(0) packet.
Requesting DS (→ example.duckdns.org) to validate transaction 30409 (example.duckdns.org, unsigned empty SOA/NS response).
Cache miss for example.duckdns.org IN DS
Firing regular transaction 30784 for <example.duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 30784.
Using DNS server 8.8.8.8#dns.google for transaction 30784.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 30784.
Announcing packet size 1472 in egress EDNS(0) packet.
Processing incoming packet of size 99 on transaction 20058 (rcode=SUCCESS).
Requesting DS to validate transaction 20058 (duckdns.org, unsigned SOA/NS RRset).
Requesting SOA (→ example.duckdns.org) to validate transaction 20058 (example.duckdns.org, unsigned empty non-SOA/NS/DS response).
Processing incoming packet of size 786 on transaction 49135 (rcode=SUCCESS).
Requesting DNSKEY to validate transaction 49135 (org, RRSIG with key tag: 61110).
Positive cache hit for org IN DNSKEY
Regular transaction 52574 for <org IN DNSKEY> on scope dns on */* now complete with <success> from cache (authenticated; confidential).
Requesting DNSKEY to validate transaction 49135 (gdtpongmpok61u9lvnipqor8lra9l4t0.org, RRSIG with key tag: 61110).
Requesting DNSKEY to validate transaction 49135 (6fab725nvaq3den222549c33aceptsil.org, RRSIG with key tag: 61110).
Requesting parent SOA (→ org) to validate transaction 49135 (duckdns.org, signed empty DS response).
Positive cache hit for org IN SOA
Regular transaction 60494 for <org IN SOA> on scope dns on */* now complete with <success> from cache (authenticated; confidential).
Validating response from transaction 49135 (duckdns.org IN DS).
Looking at gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3 1 1 0 332539ee7f95c32a GDTREA8KMJ2RNEQEN4M2OGJ26KFSUKJ7 ( NS SOA RRSIG DNSKEY NSEC3PARAM ): validated
Found verdict for lookup gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3: secure
Looking at 6fab725nvaq3den222549c33aceptsil.org IN NSEC3 1 1 0 332539ee7f95c32a 6FADC05OLAPNGL3AF6SIH8A1KUJJ0KAE ( NS DS RRSIG ): validated
Found verdict for lookup 6fab725nvaq3den222549c33aceptsil.org IN NSEC3: secure
Looking at org IN SOA a0.org.afilias-nst.info hostmaster.donuts.email 1696524770 7200 900 1209600 3600: validated
Found verdict for lookup org IN SOA: secure
Data is NSEC3 opt-out via NSEC/NSEC3 for transaction 49135 (duckdns.org IN DS)
Found verdict for lookup duckdns.org IN DS: insecure
Added positive authenticated confidential cache entry for gdtpongmpok61u9lvnipqor8lra9l4t0.org IN NSEC3 3139s on enp39s0/INET/8.8.8.8
Added positive authenticated confidential cache entry for org IN SOA 1339s on enp39s0/INET/8.8.8.8
Not caching negative entry for: duckdns.org IN DS, cache mode set to no-negative
Regular transaction 49135 for <duckdns.org IN DS> on scope dns on */* now complete with <success> from network (unsigned; confidential).
Received unexpected TCP reply packet with id 59490, ignoring.
Received unexpected TCP reply packet with id 36621, ignoring.
Processing incoming packet of size 337 on transaction 30784 (rcode=SERVFAIL).
Server returned error SERVFAIL, retrying transaction.
Retrying transaction 30784.
Cache miss for example.duckdns.org IN DS
Firing regular transaction 30784 for <example.duckdns.org IN DS> scope dns on */* (validate=yes).
Using feature level TLS+EDNS0+DO for transaction 30784.
Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.
Using feature level TLS+EDNS0+DO for transaction 30784.
Announcing packet size 1472 in egress EDNS(0) packet.
Regular transaction 30784 for <example.duckdns.org IN DS> on scope dns on */* now complete with <invalid-reply> from none (unsigned; non-confidential).
Auxiliary DNSSEC RR query failed with invalid-reply
[🡕] DNSSEC validation failed for question example.duckdns.org IN SOA: failed-auxiliary
Regular transaction 30409 for <example.duckdns.org IN SOA> on scope dns on */* now complete with <dnssec-failed> from network (unsigned; confidential).
Auxiliary DNSSEC RR query failed validation: failed-auxiliary
[🡕] DNSSEC validation failed for question example.duckdns.org IN AAAA: failed-auxiliary
Regular transaction 20058 for <example.duckdns.org IN AAAA> on scope dns on */* now complete with <dnssec-failed> from network (unsigned; confidential).
Auxiliary DNSSEC RR query failed validation: failed-auxiliary
[🡕] DNSSEC validation failed for question example.duckdns.org IN A: failed-auxiliary
Regular transaction 56167 for <example.duckdns.org IN A> on scope dns on */* now complete with <dnssec-failed> from network (unsigned; confidential).
Freeing transaction 20058.
Sent message type=error sender=n/a destination=:1.5910 path=n/a interface=n/a member=n/a cookie=27 reply_cookie=2 signature=s error-name=org.freedesktop.resolve1.DnssecFailed er>
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RemoveMatch cookie=28 reply_cookie=0 s>
Freeing transaction 56167.
Freeing transaction 30409.
Freeing transaction 49135.
Freeing transaction 60494.
Freeing transaction 52574.
Freeing transaction 30784.
Got message type=method_call sender=:1.5911 destination=org.freedesktop.resolve1 path=/org/freedesktop/LogControl1 interface=org.freedesktop.DBus.Properties member=Set cookie=2 >
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=29 reply_>
Got message type=method_return sender=org.freedesktop.DBus destination=:1.5907 path=n/a interface=n/a member=n/a cookie=19 reply_cookie=29 signature=u error-name=n/a error-messa>
Setting log level to info.
I'm getting similar errors for in-addr.arpa lookups. These zones are rarely signed. A lot of Linux utilities try to look up IPs in order to display a friendly hostname. systemd-resolved fails to resolve these in time, causing massive slowdowns. For some reason none these results aren't cached either.
Example snippet of ~20 seconds (systemd 249 (249.11-0ubuntu3.11)):
DNSSEC validation failed for question 61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN PTR: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN DS: failed-auxiliary
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN SOA: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN DS: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN SOA: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN PTR: failed-auxiliary
DNSSEC validation failed for question 61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN PTR: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN DS: failed-auxiliary
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN SOA: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN DS: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN SOA: failed-auxiliary
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN PTR: failed-auxiliary
DNSSEC validation failed for question 61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN DS: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN SOA: no-signature
DNSSEC validation failed for question 93.23.61.108.in-addr.arpa IN PTR: no-signature
At this point in time systemd-resolved seems totally unusable with DNSSEC enabled. I replaced it with named, using the same upstream resolvers and DNSSEC configuration, I can't observe any slowdowns or failures to cache.
I believe this is caused by wrong algorithm used to verify names described in issue #26970. It starts cutting zone from the left, but it should do it the same way as other dnssec validating resolvers. Validating from the right.
Then it would know soon zone 61.108.in-addr.arpa is unsigned, and so verification of anything underneath is waste of cycles.
Steps done by I would say reference implementation BIND9 can be displayed by command delv +vtrace 93.23.61.108.in-addr.arpa IN PTR, where you can notice SOA is queried just once, not for every zone cut.
@bluca Unfortunately, the problem I described in comment #9867 (comment) in this issue still occurs with systemd 256.5 on Ubuntu 24.10. Shall I open a new issue or can we reopen this one?
@marianrh I think it's better to make a new one, because given there were fixes for this issue, some of the discussion basically becomes outdated. It may be some missed case in the fixes, for example…
Activity
filbranden commentedon Aug 14, 2018
I see two problems here that I don't really understand:
DNSKEY lookup took a long time, started at 23:10:27 and only got the keys at 23:11:14, not sure why that is, if I query the resolver directly with
host -t dnskey gnu.org 8.8.8.8I seem to get a response right away... After the entries are cached, if I query it again, I get the "DNSSEC validation failed: failed-auxiliary" error right away.The log has some "Found verdict ...: insecure" lines, at that point, after it gets the DNSKEY. Assuming that that's indeed correct, and that DNSSEC is actually not configured correctly for this domain... Shouldn't "DNSSEC setting: allow-downgrade" mean it ought to fall back to using non-DNSSEC lookups?
UPDATE: I tried the lookup again. This time, it seems the entries just expired, so a new lookup was stuck again for a while. I seem to reproduce the delay fairly consistently too. But this time the lookup eventually succeeded. This time lookup of DNSKEY took from 23:38:30 to 23:39:23. The verdicts were all insecure. But it ended up replying with an IN A address for the domain.
yuwata commentedon Aug 14, 2018
Note that
-ENODATAis returned bydns_resource_record_is_synthetic().filbranden commentedon Sep 12, 2018
Ping? I can still reproduce this one, as of current master (v239-751-g49cdae63d168). Any ideas what might be going wrong here?
I can try to check back when this actually worked (if it actually has worked before) and try to bisect to see where the problem was introduced... Will try to do that now.
filbranden commentedon Dec 18, 2018
I wonder if this is fixed by #11194 or not... Will try to see if I can still reproduce it on HEAD and, if so, check #11194 on top of it to see whether that fixes this too...
filbranden commentedon Dec 19, 2018
Ping? I can still reproduce this issue consistently.
Just tried it with a build that includes @poettering's #11194 and it still doesn't work...
Let me know if you'd like me to collect fresh logs for this one, I'd be happy to.
Cheers,
Filipe
kyrias commentedon Dec 20, 2018
I think that the core issue is that while the
gnu.org.zone is signed, they haven't set up aDSrecord to be published byorg., and because of thisorg.returns aNSEC3"proving" that it's not signed. This seems to trip up resolved when it discovers thatgnu.org.actually is signed.filbranden commentedon Dec 20, 2018
I'm wondering if other DNSSEC clients/implementations also have trouble with
gnu.org.domains...In other words: Is this a resolved bug? Or is this an actual problem with the way
gnu.org.set up their DNSSEC and rejecting their domains is the proper approach here?Pragmatically, what can we do about it? Currently I have disabled resolving through resolved on my machines, since not being able to checkout git repos from savannah.gnu.org is a problem I'd rather not live with right now...
Ferdi265 commentedon Dec 23, 2018
Currently running into this on my ArchLinux machine. I'd really not want to need to either disable DNSSEC or use a nonlocal resolver.
Also adding that one of the other affected domains is
youtu.be.Hi-Angel commentedon Dec 25, 2018
No, I asked a gf it she can ping
savannah.gnu.orgfrom her Win7, and everything is fine. Meanwhile, I have the problem on both of my Archlinux machines.Ferdi265 commentedon Dec 25, 2018
Can also confirm that
dig +dnssec savannah.gnu.org @$LOCAL_DNS_SERVER_HEREcorrectly resolves. (On the same machine that resolved fails)Edit: with "local dns server" I mean the one provided by my router, not systemd-resolved.
fabolhak commentedon Feb 17, 2019
I also had a lot of problems with resolving various names like
repository.spotify.com:https://gist.github.com/fabolhak/4dba7e4c167f9cf0e36c0195ebe8931d
My configuration was:
dig +dnssec @46.182.19.48 repository.spotify.comhowever worked fine for me.I removed the
DNSOverTLS=opportunistic. Now it seems to work for me.Hi-Angel commentedon Apr 13, 2019
Hmm, workaround doesn't work for me. I have:
The only difference is I don't set DNS explicitly, and per the suggestion I don't have the
DNSOverTLSline.Btw, I think these values are actually defaults.
fabolhak commentedon Apr 18, 2019
There were some updates lately. Unfortunately, I didn't had time to check whether the problem is fixed. My current (working) configuration is:
Ferdi265 commentedon Apr 19, 2019
@fabolhak on the machine I originally encountered this problem, resolving
savannah.gnu.orgstill doesn't work when DNSSEC is enabled60 remaining items
kevincox commentedon Jun 26, 2023
Adding a whitelist seems like it should be unnecessary if this bug was just tracked down and resolved. Does anyone have a Red Hat support license?
pemensik commentedon Jul 13, 2023
This should not be required if just validation fails on selected domains. Use Negative Trust Anchors, read
man 5 dnssec-trust-anchors.dabout that. It should help.I have Red Hat support access, but I doubt a solution for it is there. If you want better DNSSEC validation, give unbound or dnsmasq a try instead.
rocketraman commentedon Jul 13, 2023
Nice @pemensik , that was easy! I simply created
/etc/dnssec-trust-anchors.d/sts-sky-blackbaud-com.negativecontaining the name of the domain namests.sky.blackbaud.com, and after a restart [1] systemd-resolved now resolves the domain perfectly.Thank you, DNSSEC is enabled again on my system.
[1]
flush-cachesdidn't work, oddlydanielzgtg commentedon Oct 5, 2023
developer.apple.comis fixed. Now there is a problem with*.duckdns.org(even thoughduckdns.orgitself works):journalctl -u systemd-resolved.service | cut -f6- -d' '
PSanetra commentedon Nov 27, 2023
I got the same issue with
cdn.platform.linuxfoundation.organd also confirmed the issue withexample.duckdns.orgMy configuration:
Avamander commentedon Nov 30, 2023
I'm getting similar errors for
in-addr.arpalookups. These zones are rarely signed. A lot of Linux utilities try to look up IPs in order to display a friendly hostname.systemd-resolvedfails to resolve these in time, causing massive slowdowns. For some reason none these results aren't cached either.Example snippet of ~20 seconds (
systemd 249 (249.11-0ubuntu3.11)):At this point in time
systemd-resolvedseems totally unusable with DNSSEC enabled. I replaced it withnamed, using the same upstream resolvers and DNSSEC configuration, I can't observe any slowdowns or failures to cache.pemensik commentedon Nov 30, 2023
I believe this is caused by wrong algorithm used to verify names described in issue #26970. It starts cutting zone from the left, but it should do it the same way as other dnssec validating resolvers. Validating from the right.
Then it would know soon zone
61.108.in-addr.arpais unsigned, and so verification of anything underneath is waste of cycles.It needs just single query to know that:
pemensik commentedon Nov 30, 2023
Steps done by I would say reference implementation BIND9 can be displayed by command
delv +vtrace 93.23.61.108.in-addr.arpa IN PTR, where you can notice SOA is queried just once, not for every zone cut.bluca commentedon Mar 26, 2024
#31827
marianrh commentedon Oct 25, 2024
@bluca Unfortunately, the problem I described in comment #9867 (comment) in this issue still occurs with systemd 256.5 on Ubuntu 24.10. Shall I open a new issue or can we reopen this one?
Hi-Angel commentedon Oct 25, 2024
@marianrh I think it's better to make a new one, because given there were fixes for this issue, some of the discussion basically becomes outdated. It may be some missed case in the fixes, for example…
ChristianTackeGSI commentedon Oct 25, 2024
Plesse reference this issue in the new issue.
rathann commentedon Jan 11, 2025
This is still happening with v256.11 on Fedora 41:
However, the same delv command run on the configured DNS server succeeds:
rocketraman commentedon Jan 14, 2025
Another domain failing with the same error, also on Fedora 41, version 256.11:
Its an unsigned domain: