Skip to content

Sporadic "DNSSEC validation failed" — "no-signature" #12388

Open

Description

@Hi-Angel

Problem appeared today after yesterday distro-upgrade, previous systemd 241 was okay. Since this morning resolving sites sporadically starts failing. Problem disappears upon disabling systemd-resolved.

systemd version the issue has been seen with

242

Used distribution

Archlinux

Expected behaviour you didn't see

Being able to ping google.com

Unexpected behaviour you saw

ping: google.com: Name or service not known

Steps to reproduce the problem

$ sudo systemctl start systemd-resolved
$ ping google.com
ping: google.com: Name or service not known

Content of journalctl -f for executing the commands:

апр 25 09:31:30 constantine-N61Ja sudo[392]: constantine : TTY=pts/1 ; PWD=/tmp ; USER=root ; COMMAND=/usr/bin/systemctl start systemd-resolved
апр 25 09:31:30 constantine-N61Ja sudo[392]: pam_unix(sudo:session): session opened for user root by (uid=0)
апр 25 09:31:30 constantine-N61Ja systemd[1]: Starting Network Name Resolution...
апр 25 09:31:30 constantine-N61Ja systemd-resolved[395]: Positive Trust Anchors:
апр 25 09:31:30 constantine-N61Ja systemd-resolved[395]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
апр 25 09:31:30 constantine-N61Ja systemd-resolved[395]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
апр 25 09:31:30 constantine-N61Ja systemd-resolved[395]: Negative trust anchors: 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.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 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test
апр 25 09:31:30 constantine-N61Ja systemd-resolved[395]: Using system hostname 'constantine-N61Ja'.
апр 25 09:31:30 constantine-N61Ja systemd[1]: Started Network Name Resolution.
апр 25 09:31:30 constantine-N61Ja audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
апр 25 09:31:30 constantine-N61Ja sudo[392]: pam_unix(sudo:session): session closed for user root
апр 25 09:31:30 constantine-N61Ja kernel: kauditd_printk_skb: 151 callbacks suppressed
апр 25 09:31:30 constantine-N61Ja kernel: audit: type=1130 audit(1556173890.709:292): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
апр 25 09:31:33 constantine-N61Ja systemd[1]: NetworkManager-dispatcher.service: Succeeded.
апр 25 09:31:33 constantine-N61Ja audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
апр 25 09:31:33 constantine-N61Ja kernel: audit: type=1131 audit(1556173893.632:293): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
апр 25 09:31:41 constantine-N61Ja systemd-resolved[395]: DNSSEC validation failed for question google.com IN DS: no-signature
апр 25 09:31:41 constantine-N61Ja systemd-resolved[395]: DNSSEC validation failed for question google.com IN SOA: no-signature
апр 25 09:31:41 constantine-N61Ja systemd-resolved[395]: DNSSEC validation failed for question google.com IN A: no-signature

Output of resolvectl status:

Global
       LLMNR setting: yes
MulticastDNS setting: yes
  DNSOverTLS setting: no
      DNSSEC setting: allow-downgrade
    DNSSEC supported: yes
  Current DNS Server: 195.19.33.208
         DNS Servers: 195.19.33.208
                      192.168.88.10
                      8.8.8.8
                      8.8.4.4
Fallback DNS Servers: 1.1.1.1
                      9.9.9.10
                      8.8.8.8
                      2606:4700:4700::1111
                      2620:fe::10
                      2001:4860:4860::8888
          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 3 (wlp2s0)
      Current Scopes: none
DefaultRoute setting: no
       LLMNR setting: yes
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: allow-downgrade
    DNSSEC supported: yes

Link 2 (enp3s0)
      Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
DefaultRoute setting: yes
       LLMNR setting: yes
MulticastDNS setting: no
  DNSOverTLS setting: no
      DNSSEC setting: allow-downgrade
    DNSSEC supported: yes
  Current DNS Server: 195.19.33.208
         DNS Servers: 195.19.33.208
                      192.168.88.10
                      8.8.8.8
                      8.8.4.4
          DNS Domain: ~.

FTR: DNSSEC support was already buggy, so there may be a relation.

Activity

  1. makotom commented on May 28, 2019

    @makotom

    Sounds interesting.
    May I review debug logs for resolved?

    P.S. This may help you configuring resolved to output debug logs.

  2. Hi-Angel commented on May 28, 2019

    @Hi-Angel
    Author

    Sounds interesting.
    May I review debug logs for resolved?

    P.S. This may help you configuring resolved to output debug logs.

    Sure. It's 196 lines, so I attached it. It's obtained with the same sequence of steps, i.e. sudo systemctl start systemd-resolved and then ping google.com.

    resolved.log

  3. makotom commented on May 28, 2019

    @makotom

    Thanks for your log!
    I was investigating it with fun.

    Your log says:

    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Using feature level UDP+EDNS0+DO+LARGE for transaction 59692.
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Using DNS server 195.19.33.208 for transaction 59692.
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Sending query packet with id 59692.
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Processing incoming packet on transaction 59692 (rcode=SUCCESS).
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Requesting DNSKEY to validate transaction 59692 (com, RRSIG with key tag: 3800).
    ...
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Requesting parent SOA (→ com) to validate transaction 59692 (google.com, unsigned empty DS response).
    ...
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Validating response from transaction 59692 (google.com IN DS).
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Looking at com IN SOA a.gtld-servers.net nstld.verisign-grs.com 1559025032 1800 900 604800 86400: validated
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Found verdict for lookup com IN SOA: secure
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: Found verdict for lookup google.com IN DS: bogus
    мая 28 09:32:44 constantine-N61Ja systemd-resolved[24243]: DNSSEC validation failed for question google.com IN DS: no-signature
    

    This indicates that resolved failed to verify the authenticity of the empty response for google.com IN DS because of lack of information (the reason for the lack is not known at this moment).

    Frankly speaking, I suspect that the recursive server in use failed to respond NSEC3 records for google.com IN DS.
    If I were you, I would:

    1. Try dig @a.gtld-servers.net google.com DS +dnssec to see what is the expected response for google.com IN DS.
      Then, try dig @195.19.33.208 google.com DS +dnssec to see what is the actual response from the recursive server in use. If there're missing RRsets, that's the case.
    2. Try using other recursive servers. For instance, configure resolved to always use 1.1.1.1 or 8.8.8.8 (or anything else you like - but I recommend either of the two because I've tested them) then see whether the issue is solved. If the issue can be solved, that's the case.

    Otherwise, I would obtain a packet capture (e.g. tcpdump -w ~/resolved.pcap -i any udp port 53) to see what is the part resolved fails to understand.

    Hope it helps you. :)

    FYI: I got the following log for google.com IN DS on my test environment. (systemd 242.29-1)

    May 28 17:13:10 ***** systemd-resolved[77525]: Validating response from transaction 34874 (google.com IN DS).
    May 28 17:13:10 ***** systemd-resolved[77525]: Looking at CK0POJMG874LJREF7EFN8430QVIT8BSM.com IN NSEC3 1 1 0 - CK0Q1GIN43N1ARRC9OSM6QPQR81H5M9A ( NS SOA RRSIG DNSKEY NSEC3PARAM ): validated
    May 28 17:13:10 ***** systemd-resolved[77525]: Found verdict for lookup CK0POJMG874LJREF7EFN8430QVIT8BSM.com IN NSEC3: secure
    May 28 17:13:10 ***** systemd-resolved[77525]: Looking at S84BDVKNH5AGDSI7F5J0O3NPRHU0G7JQ.com IN NSEC3 1 1 0 - S84CFH3A62N0FJPC5D9IJ2VJR71OGLV5 ( NS DS RRSIG ): validated
    May 28 17:13:10 ***** systemd-resolved[77525]: Found verdict for lookup S84BDVKNH5AGDSI7F5J0O3NPRHU0G7JQ.com IN NSEC3: secure
    May 28 17:13:10 ***** systemd-resolved[77525]: Looking at com IN SOA a.gtld-servers.net nstld.verisign-grs.com 1559031163 1800 900 604800 86400: validated
    May 28 17:13:10 ***** systemd-resolved[77525]: Found verdict for lookup com IN SOA: secure
    May 28 17:13:10 ***** systemd-resolved[77525]: Data is NSEC3 opt-out via NSEC/NSEC3 for transaction 34874 (google.com IN DS)
    May 28 17:13:10 ***** systemd-resolved[77525]: Found verdict for lookup google.com IN DS: insecure
    May 28 17:13:10 ***** systemd-resolved[77525]: Added positive authenticated cache entry for CK0POJMG874LJREF7EFN8430QVIT8BSM.com IN NSEC3 7200s on ens192/INET/10.0.0.1
    May 28 17:13:10 ***** systemd-resolved[77525]: Added positive authenticated cache entry for com IN SOA 900s on ens192/INET/10.0.0.1
    May 28 17:13:10 ***** systemd-resolved[77525]: Added NODATA cache entry for google.com IN DS 900s
    May 28 17:13:10 ***** systemd-resolved[77525]: Transaction 34874 for <google.com IN DS> on scope dns on */* now complete with <success> from network (unsigned).
    

    (Note: The host name parts are masked intentionally.)

  4. Hi-Angel commented on May 28, 2019

    @Hi-Angel
    Author

    @makotom thank you, great findings!

    I don't know details of DNS protocols, so I can't offhand make any conclusions, but for anyone interested, below are outputs for the two dig commands:

    dig @a.gtld-servers.net google.com DS +dnssec

    
    ; <<>> DiG 9.14.1 <<>> @a.gtld-servers.net google.com DS +dnssec
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33196
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1
    ;; WARNING: recursion requested but not available
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags: do; udp: 4096
    ;; QUESTION SECTION:
    ;google.com.			IN	DS
    
    ;; AUTHORITY SECTION:
    CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN NSEC3 1 1 0 - CK0Q1GIN43N1ARRC9OSM6QPQR81H5M9A NS SOA RRSIG DNSKEY NSEC3PARAM
    CK0POJMG874LJREF7EFN8430QVIT8BSM.com. 86400 IN RRSIG NSEC3 8 2 86400 20190604044533 20190528033533 3800 com. YQdumHEEUmzxuBxPBgehzu4J2IUp49V8I/9jmOCeLkaXkjaIBpU6eEFg dS5HTiEjHIzJaQeCvih3VmXTdYlUj9exoNz5anezyE913cr9EAczipcN wM18pVhvJMAwNyc+vpKKquwEKb13smt8hVaezr+KRyVxG0cZSxb1IX/6 IO4=
    com.			900	IN	SOA	a.gtld-servers.net. nstld.verisign-grs.com. 1559047518 1800 900 604800 86400
    com.			900	IN	RRSIG	SOA 8 1 900 20190604124518 20190528113518 3800 com. ETwDqKu+owFBX3+SANQabh5isRLyUCHxN1t7/+/cz2QdJdYFHVwt9Nin cMW+mim4uabLyJSdzX2e4lK8fbVYvlFGYsVwQyCwuk/Qf+xKOMpuqzXB RceL48oZIUfTW/UjcxhPiIzxkZTkxv025M0tV0093DRBGGEmmwexr1Vt c0U=
    S84BDVKNH5AGDSI7F5J0O3NPRHU0G7JQ.com. 86400 IN NSEC3 1 1 0 - S84CFH3A62N0FJPC5D9IJ2VJR71OGLV5 NS DS RRSIG
    S84BDVKNH5AGDSI7F5J0O3NPRHU0G7JQ.com. 86400 IN RRSIG NSEC3 8 2 86400 20190601050129 20190525035129 3800 com. fSZL1rUVRqv0D5ICjIIveQFZ1QBeSY12StJ25HoF6q5MDrO8d1WfslSR qoko4pL/ya6APXdUinNQmM6Bv7fPCkJG3xcgrRA/gz6A5NroaONS6Ahg 2GyJrEc5zE8XDYbNH5m1SIXnV9uq3yotmUmiZiGSsn75u2FTPtbcmkH6 02c=
    
    ;; Query time: 46 msec
    ;; SERVER: 192.5.6.30#53(192.5.6.30)
    ;; WHEN: Вт мая 28 15:45:40 MSK 2019
    ;; MSG SIZE  rcvd: 760
    

    and dig @195.19.33.208 google.com DS +dnssec

    
    ; <<>> DiG 9.14.1 <<>> @195.19.33.208 google.com DS +dnssec
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60697
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags: do; udp: 4000
    ;; QUESTION SECTION:
    ;google.com.			IN	DS
    
    ;; AUTHORITY SECTION:
    com.			900	IN	SOA	a.gtld-servers.net. nstld.verisign-grs.com. 1559046688 1800 900 604800 86400
    com.			900	IN	RRSIG	SOA 8 1 900 20190604123128 20190528112128 3800 com. QsopLGlu03wRENGGTeId5qSz9kIn4QQBqibqcarpyuLFTwwa2w53i59c eXgOBJeK/GqkFrUPOaZDMiLrem7vCE+bah/RK+wPBuI6FKq2hCwcXRh+ dJg/He3nVQGiHkbO+kjKzC5eC+mVb2/KWpEPvyVKUUz8kPQo8N9/lv6v M8M=
    
    ;; Query time: 34 msec
    ;; SERVER: 195.19.33.208#53(195.19.33.208)
    ;; WHEN: Вт мая 28 15:45:54 MSK 2019
    ;; MSG SIZE  rcvd: 275
    
  5. Hi-Angel commented on May 28, 2019

    @Hi-Angel
    Author

    Try using other recursive servers. For instance, configure resolved to always use 1.1.1.1 or 8.8.8.8 (or anything else you like - but I recommend either of the two because I've tested them) then see whether the issue is solved. If the issue can be solved, that's the case.

    So, I've used sudo systemctl edit systemd-resolved, added a section:

    [Network]
    DNS=8.8.8.8 

    and then started systemd-resolved. Pinging google still fails.

    Otherwise, I would obtain a packet capture (e.g. tcpdump -w ~/resolved.pcap -i any udp port 53) to see what is the part resolved fails to understand.

    The pcap file is attached below (Note: I changed extension from pcap to txt, otherwise github fails to upload it). resolved.pcap

  6. makotom commented on May 28, 2019

    @makotom

    So, I've used sudo systemctl edit systemd-resolved, added a section:

    [Network]
    DNS=8.8.8.8 
    

    Oh, I tried it with my test environment, and that seems not to be a correct way: By resolvectl status, I confirmed that resolved was still using the original DNS server (which was configured using DHCP).

    Could you try it by using /etc/systemd/resolved.conf following this documentation?

  7. Hi-Angel commented on May 28, 2019

    @Hi-Angel
    Author

    So, I've used sudo systemctl edit systemd-resolved, added a section:

    [Network]
    DNS=8.8.8.8 
    

    Oh, I tried it with my test environment, and that seems not to be a correct way: By resolvectl status, I confirmed that resolved was still using the original DNS server (which was configured using DHCP).

    Could you try it by using /etc/systemd/resolved.conf following this documentation?

    Thanks, I tried editing /etc/systemd/resolved.conf to contain the following noncommented lines:

    [Resolve]
    DNS=8.8.8.8
    FallbackDNS=8.8.8.8

    Upon starting systemd-resolved I still failed to ping google.com.

    However I figured that there doesn't seem to be a way to override DNS (i.e. 8.8.8.8 is rather used in addition to ones from DHCP), so I changed my network configuration to exclude getting DNSes via DHCP. Thus I left only with 8.8.8.8 as a DNS — and this way everything works, I can ping google.com.

    I wonder if it's a bug too in systemd-resolved: that it doesn't try alternative DNSes when resolution through a prev. one failed.

  8. makotom commented on May 28, 2019

    @makotom

    I left only with 8.8.8.8 as a DNS — and this way everything works, I can ping google.com.

    🎉
    Now you can safely say that the issue was caused by the DNS server provided by DHCP.
    (Actually, I can see through your packet capture that the server responded "falsified" data for google.com IN DS without NSEC3 RRsets. I think that the server is a little old.)

    I wonder if it's a bug too in systemd-resolved: that it doesn't try alternative DNSes when resolution through a prev. one failed.

    So you mean that, if resolved failed verifying authenticity of a record, you expect it to retry the procedure using fallback servers.
    That's a good point. Is this an intentional design to avoid retrying DNSSEC verification processes?
    Request for comments. Thanks!

  9. Neurognostic commented on Apr 7, 2020

    @Neurognostic

    Seeing this issue today with systemd v245 on Arch Linux.

    # resolvectl status
    Global
           LLMNR setting: yes
    MulticastDNS setting: yes
      DNSOverTLS setting: no
          DNSSEC setting: allow-downgrade
        DNSSEC supported: yes
    Fallback DNS Servers: 1.1.1.1
                          9.9.9.10
                          8.8.8.8
                          2606:4700:4700::1111
                          2620:fe::10
                          2001:4860:4860::8888
              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 (enp5s0)
          Current Scopes: LLMNR/IPv4 LLMNR/IPv6
    DefaultRoute setting: no
           LLMNR setting: yes
    MulticastDNS setting: no
      DNSOverTLS setting: no
          DNSSEC setting: allow-downgrade
        DNSSEC supported: yes

    archlinux.org does not resolve

    # resolvectl flush-caches; resolvectl query archlinux.org
    archlinux.org: resolve call failed: DNSSEC validation failed: no-signature

    But other names resolve fine

    # resolvectl flush-caches; resolvectl query duckduckgo.com                                            :(
    duckduckgo.com: 54.241.2.241                   -- link: enp5s0
    
    -- Information acquired via protocol DNS in 173.8ms.
    -- Data is authenticated: no

    If the DNSSEC= option in resolved.conf is switched off. Then archlinux.org resolves fine.

    The expected behavior is that DNSSEC=allow-downgrade should not fail where DNSSEC=off would not, regardless of any fault at the DNS server.

  10. makotom commented on Apr 7, 2020

    @makotom

    @Neurognostic Sounds weird, because AFAIK neither archlinux.org. nor duckduckgo.com. supports DNSSEC. Hence, they are under the same condition.

    That could mean that there is another problem in solving archlinux.org.
    Could you collect debug logs from resolved and let me investigate it further? (See also: #12388 (comment))

    BTW, as long as it actually conducts DNSSEC validations, allow-downgrade may yield results different from that in off, and it should. (e.g. In case signature validation fails due to response falsification - allow-downgrade should fail, whereas off should not.) Nevertheless, allow-downgrade still accepts "unsigned" RRsets

  11. Neurognostic commented on Apr 7, 2020

    @Neurognostic

    Could you collect debug logs from resolved and let me investigate it further?

    Validating response from transaction 4307 (archlinux.org IN DS).
    Looking at h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org IN NSEC3 1 1 1 d399eaab H9PARR669T6U8O1GSG9E1LMITK4DEM0T ( NS SOA RRSIG DNSKEY NSEC3PARAM ): signature-expired
    Looking at oueb7cg69pmm7461e2hgedtsck9160ms.org IN NSEC3 1 1 1 d399eaab OUEHGTME053CO2MOHQJ2I57FF70JGFAK ( NS DS RRSIG ): validated
    Found verdict for lookup oueb7cg69pmm7461e2hgedtsck9160ms.org IN NSEC3: secure
    Looking at h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org IN NSEC3 1 1 1 d399eaab H9PARR669T6U8O1GSG9E1LMITK4DEM0T ( NS SOA RRSIG DNSKEY NSEC3PARAM ): signature-expired
    Looking at org IN SOA a0.org.afilias-nst.info noc.afilias-nst.info 2013885981 1800 900 604800 86400: signature-expired
    Looking at h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org IN NSEC3 1 1 1 d399eaab H9PARR669T6U8O1GSG9E1LMITK4DEM0T ( NS SOA RRSIG DNSKEY NSEC3PARAM ): signature-expired
    Found verdict for lookup archlinux.org IN DS: bogus
    DNSSEC validation failed for question archlinux.org IN DS: no-signature
    Transaction 4307 for <archlinux.org IN DS> on scope dns on */* now complete with <dnssec-failed> from network (unsigned).
    Auxiliary DNSSEC RR query failed validation: no-signature
    DNSSEC validation failed for question archlinux.org IN SOA: no-signature
    Transaction 42775 for <archlinux.org IN SOA> on scope dns on */* now complete with <dnssec-failed> from network (unsigned).
    Auxiliary DNSSEC RR query failed validation: no-signature
    DNSSEC validation failed for question archlinux.org IN A: no-signature
    Transaction 60777 for <archlinux.org IN A> on scope dns on */* now complete with <dnssec-failed> from network (unsigned).
    Sent message type=error sender=n/a destination=:1.134 path=n/a interface=n/a member=n/a cookie=7 reply_cookie=2 signature=s error-name=org.freedesktop.resolve1.DnssecFailed error-message=DNSSEC validation failed: no-signature
    Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RemoveMatch cookie=8 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    

    Full systemd-resolved debug log: archlinux.org_systemd-resolved.debug.log

    @makotom, looks like something is returning as signature-expired (not sure what that is specifically), but then it returns no-signature.

    BTW, as long as it actually conducts DNSSEC validations, allow-downgrade may yield results different from that in off, and it should. (e.g. In case signature validation fails due to response falsification - allow-downgrade should fail, whereas off should not.

    Good point, makes sense. If that is the case in this instance and its failing due to response falsification and not "no-signature", then the error message appears misleading to the user. To me, "no-signature" sounds like something allow-downgrade would handle.


    btw. I get the same results with any of the archlinux.org subdomains.

  12. makotom commented on Apr 8, 2020

    @makotom

    Thanks for your log @Neurognostic! That was another interesting log.

    The log says it failed to validate NSEC3 (a RR to verify that there is no matching RRset requested for) for archlinux.org IN DS as signature-expired. Even though the log does not tell us more about the reason it determined that it was expired, I realized that the SOA returns somewhat aggressive Inception datetime, and it could be the root cause. Namely: if your system clock is a couple of hours behind the actual time, the validation of the record would fail due to "expiry", and assume that the response is bogus.
    (Note: resolved will assume RRs as expired if its inception is 1h10 or more ahead of the current time.)

    ; <<>> DiG 9.16.1 <<>> @a0.org.afilias-nst.info archlinux.org DS +dnssec
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22790
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1
    ;; WARNING: recursion requested but not available
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags: do; udp: 4096
    ;; QUESTION SECTION:
    ;archlinux.org.			IN	DS
    
    ;; AUTHORITY SECTION:
    h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org. 86400 IN NSEC3 1 1 1 D399EAAB H9PARR669T6U8O1GSG9E1LMITK4DEM0T NS SOA RRSIG DNSKEY NSEC3PARAM
    h9p7u7tr2u91d0v0ljs9l1gidnp90u3h.org. 86400 IN RRSIG NSEC3 7 2 86400 20200429091859 20200408081859 37022 org. XycWiVrO9vjaUkLeeLNJvqn803x2nJoKO9xgwlZmE/e/Arf3dNHSSrpc KO8yaFTq5nxCSM+/rvYv6ZBdC/Kkj1sDQiHBdzF5Rq1o22ZBhbJxzqm4 R2ooyPluAsgyxm0+lQTvc5G1zkK5mwe2XbsT62TnCDOMyH1xnUObqCsT i84=
                                                                                        ^^^^^^^^^^^^^^ (i.e. 2020-04-08T08:18:59Z)
    org.			900	IN	SOA	a0.org.afilias-nst.info. noc.afilias-nst.info. 2013886784 1800 900 604800 86400
    org.			900	IN	RRSIG	SOA 7 1 900 20200429091859 20200408081859 37022 org. uSCLtt/yKls5NhjclVc9kOrQeJQQ64Oo2VwdEme2b0u537rKpBmxloqb KoY+t5q+/fUzy6ImiuWih2/IH6klZKw5xiG76hiK26KJDL8ng4sqTnEe VPFe/v/RspNRksfZaCII6NJ3YlSV4uZYXNSL1el10Zu7YzVTCPAKd/OZ Id8=
    oueb7cg69pmm7461e2hgedtsck9160ms.org. 86400 IN NSEC3 1 1 1 D399EAAB OUEHGTME053CO2MOHQJ2I57FF70JGFAK NS DS RRSIG
    oueb7cg69pmm7461e2hgedtsck9160ms.org. 86400 IN RRSIG NSEC3 7 2 86400 20200422153014 20200401143014 37022 org. BiZMYbaQ8pmXQYrhK2PrA1eU25XBmJk1+RM4YM27UtHkaXion4sN5Nt1 ewf/8YP6DGqm9NezHyCo8JK8b2AoxGQtc0AX1Mv1GsxrvopAr6EcxdjU coPLC4wIgngJoISVXfjZu2r/JqJzkU71i89OfMKmWx915u4tZ+secJqC i7k=
    
    ;; Query time: 5 msec
    ;; SERVER: 2001:500:e::1#53(2001:500:e::1)
    ;; WHEN: Wed Apr 08 18:19:12 JST 2020
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (i.e. 2020-04-08T09:19:12Z)
    ;; MSG SIZE  rcvd: 761
    

    So my suggestion is to check your system clock that it is well synchronized with NTP servers.

    In terms of the error message, I totally understand your point. That is very tricky.
    On the other hand, that message is accurate - archlinux.org IN A itself has no-signature indeed, and, in your particular case, archlinux.org IN DS failed because there was no-signature (but an invalid one) which was to prove the response.
    Right - it is tricky enough. 🤔

  13. RubenKelevra commented on Apr 19, 2022

    @RubenKelevra

    I have a similar issue. I'm using as upstream cache my wifi router, which runs dnsmasq-full on OpenWRT. The settings of dnsmasq are:

    conf-file=/usr/share/dnsmasq/trust-anchors.conf
    dnssec
    dnssec-check-unsigned
    

    So it should check dnssec's signatures itself. It got no issues with this domain. Upstream for the dnsmasq is 1.1.1.1 (and it's ip6) and 8.8.8.8 (and it's ip6).

    Doing a request with systemd-resolved on the other hand fails with

    $ resolvectl query example.to
    example.to: resolve call failed: DNSSEC validation failed: no-signature

    The following settings in systemd-resolved do NOT work:

    • DNSSEC=yes
    • DNSSEC=allow-downgrade
    • Adding a working FallbackDNS (1.1.1.1#cloudflare-dns.com)

    Changing the server to 1.1.1.1#cloudflare-dns.com works with normal dns and also DNSOverTLS.

    Here a full log of systemd-resolved on this particular domain (again redacted):

    Details
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Got message type=method_call sender=:1.377 destination=org.freedesktop.resolve1 path=/org/freedesktop/resolve1 interface=org.freedesktop.resolve1.Manager member=ResolveHostname cookie=2 reply_cookie=0 signature=isit error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: idn2_lookup_u8: example.to � example.to
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixProcessID cookie=27 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.375 path=n/a interface=n/a member=n/a cookie=21 reply_cookie=27 signature=u error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: D-Bus hostname resolution request from client PID 44919 (n/a) with UID 4294967295
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Looking up RR for example.to IN A.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Looking up RR for example.to IN AAAA.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=28 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetNameOwner cookie=29 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.375 path=n/a interface=n/a member=n/a cookie=23 reply_cookie=29 signature=s error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for example.to IN A
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 58879 for <example.to IN A> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 58879.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 58879.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 58879 of size 60.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for example.to IN AAAA
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 48569 for <example.to IN AAAA> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 48569.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 48569.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 48569 of size 60.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.375 path=n/a interface=n/a member=n/a cookie=22 reply_cookie=28 signature=n/a error-name=n/a error-message=n/a
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Match type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.377' successfully installed.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 69, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 69 on transaction 58879 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting SOA to validate transaction 58879 (example.to, unsigned non-SOA/NS RRset <example.to IN A 104.21.65.x>).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for example.to IN SOA
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 18596 for <example.to IN SOA> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 18596.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 18596.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 18596 of size 60.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting SOA to validate transaction 58879 (example.to, unsigned non-SOA/NS RRset <example.to IN A 172.67.193.x>).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 93, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 93 on transaction 48569 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting SOA to validate transaction 48569 (example.to, unsigned non-SOA/NS RRset <example.to IN AAAA 2606:4700:3030::6815:x>).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting SOA to validate transaction 48569 (example.to, unsigned non-SOA/NS RRset <example.to IN AAAA 2606:4700:3037::ac43:x>).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 37, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 37 on transaction 18596 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting DS (� example.to) to validate transaction 18596 (example.to, unsigned empty SOA/NS response).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for example.to IN DS
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 37667 for <example.to IN DS> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 37667.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 37667.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 37667 of size 60.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 90, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 90 on transaction 37667 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting DS to validate transaction 37667 (to, unsigned SOA/NS RRset).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for to IN DS
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 62499 for <to IN DS> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 62499.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 62499.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 62499 of size 54.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting parent SOA (� to) to validate transaction 37667 (example.to, unsigned empty DS response).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Cache miss for to IN SOA
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Firing regular transaction 54239 for <to IN SOA> scope dns on wlan0/* (validate=yes).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using feature level UDP+EDNS0+DO for transaction 54239.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Using DNS server 192.168.8.2 for transaction 54239.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Announcing packet size 1472 in egress EDNS(0) packet.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Emitting UDP, link MTU is 1500, socket MTU is 0, minimal MTU is 40
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sending query packet with id 54239 of size 54.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 31, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 31 on transaction 54239 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting DS (� to) to validate transaction 54239 (to, unsigned empty SOA/NS response).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Received dns UDP packet of size 706, ifindex=2, ttl=0, fragsize=0, sender=192.168.8.2, destination=192.168.8.105
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Processing incoming packet of size 706 on transaction 62499 (rcode=SUCCESS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting DNSKEY to validate transaction 62499 (., RRSIG with key tag: 47671).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Positive cache hit for . IN DNSKEY
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 63828 for <. IN DNSKEY> on scope dns on wlan0/* now complete with <success> from cache (authenticated; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Requesting DNSKEY to validate transaction 62499 (to, RRSIG with key tag: 47671).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Validating response from transaction 62499 (to IN DS).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Looking at to IN NSEC today ( NS RRSIG NSEC ): validated
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Found verdict for lookup to IN NSEC: secure
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Looking at . IN SOA a.root-servers.net nstld.verisign-grs.com 2022041901 1800 900 604800 86400: validated
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Found verdict for lookup . IN SOA: secure
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Proved NODATA via NSEC/NSEC3 for transaction 62499 (to IN DS)
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Found verdict for lookup to IN DS: secure
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Added positive authenticated non-confidential cache entry for . IN SOA 7200s on wlan0/INET/192.168.8.2
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Added NODATA cache entry for to IN DS 7200s
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 62499 for <to IN DS> on scope dns on wlan0/* now complete with <success> from network (authenticated; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Validating response from transaction 54239 (to IN SOA).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Found verdict for lookup to IN SOA: bogus
    Apr 19 21:18:59 i5 systemd-resolved[44911]: DNSSEC validation failed for question to IN SOA: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 54239 for <to IN SOA> on scope dns on wlan0/* now complete with <dnssec-failed> from network (unsigned; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Auxiliary DNSSEC RR query failed validation: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: DNSSEC validation failed for question example.to IN DS: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 37667 for <example.to IN DS> on scope dns on wlan0/* now complete with <dnssec-failed> from network (unsigned; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Auxiliary DNSSEC RR query failed validation: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: DNSSEC validation failed for question example.to IN SOA: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 18596 for <example.to IN SOA> on scope dns on wlan0/* now complete with <dnssec-failed> from network (unsigned; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Auxiliary DNSSEC RR query failed validation: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: DNSSEC validation failed for question example.to IN A: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 58879 for <example.to IN A> on scope dns on wlan0/* now complete with <dnssec-failed> from network (unsigned; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Auxiliary DNSSEC RR query failed validation: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: DNSSEC validation failed for question example.to IN AAAA: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Regular transaction 48569 for <example.to IN AAAA> on scope dns on wlan0/* now complete with <dnssec-failed> from network (unsigned; non-confidential).
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Freeing transaction 58879.
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sent message type=error sender=n/a destination=:1.377 path=n/a interface=n/a member=n/a cookie=30 reply_cookie=2 signature=s error-name=org.freedesktop.resolve1.DnssecFailed error-message=DNSSEC validation failed: no-signature
    Apr 19 21:18:59 i5 systemd-resolved[44911]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RemoveMatch cookie=31 reply_cookie=0 signature=s error-name=n/a error-message=n/a

    I feel like on a bogus response resolved should at least try the other DNS-Servers as well - which it does not. It just gives up with this weird message.

    Also an "allow-downgrade" should allow resolved to downgrade on bogus responses to DNSSec, if configured by the user.

    I like to add that everything else works fine, signed and unsigned domains. So it's just this particular domain which gives trouble.

  14. colemickens commented on Mar 11, 2023

    @colemickens

    So, do people actually use networkd+resolved(+iwd?) in the wild?

    AFAICT, iwd is passing dns servers to networkd which is using them, and then just not trying fallback servers whenever it realizes my upstream is not returning signatures. Meaning that it's just basically broken with countless public/private wifi networks.

  15. acro5piano commented on Nov 22, 2024

    @acro5piano

    I had this error while connecting NordVPN from my Linux machine. Fixed by disable nordtun dns by:

    sudo resolvectl dnssec nordtun no
    
  16. luckylinux commented on Feb 28, 2025

    @luckylinux

    I'm getting weird Stuff even with SystemD 255 (255.4-1ubuntu8.5) on Ubuntu 24.04.

    For some Reason, ifconfig.me fails DNSSec Validation on Ubuntu Desktop, while I see no such Issues on so many of my Servers (Debian).

    On the other Hand, google.com has no Issues at all.

    Looking at DNSSec Testing doesn't seem that google.com is much better if at all DNSSec-wise, so kinda tricky to tell why it's failing:

    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN DS: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN SOA: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN DNSKEY: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN DS: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN SOA: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN A: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN AAAA: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN DS: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN SOA: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question me IN DNSKEY: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN DS: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN SOA: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN A: no-signature
    Feb 28 07:30:10 ubuntuworkstation02 systemd-resolved[267148]: DNSSEC validation failed for question ifconfig.me IN AAAA: no-signature
    
  17. acro5piano commented on Mar 2, 2025

    @acro5piano

    It turned out the issue happened because my local time was out-of-sync. sudo timedatectl set-ntp true and sudo systemctl enable systemd-timesyncd fixed it

  18. luckylinux commented on Mar 2, 2025

    @luckylinux

    It was already enabled in my Case and Time was synchronized. Something else is going on. For now the only Option on the Desktop was to set DNSSec=off in /etc/systemd/resolved.conf and restarting the Service with systemctl restart systemd-resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions