Closed mtgag closed 5 years ago
Testing all of the resolvers listed at Lifewire gives the following results. Since gmx.net is definitely a signed domain, I'd stay away from all resolvers that don't validate gmx.net (or any other domain) properly. Some of them imply in their name that they manipulate responses (AdGuard, Cleanbrowsing) while OpenDNS is well known for being bogus.
If your internal server is giving you a SERVFAIL, then it could be any of these reasons:
Using resolver: 8.8.8.8
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 9.9.9.9
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 208.67.222.222
---gmx.net.
Apr. 01, 2019 5:53:00 NACHM. org.jitsi.dnssec.validator.DnsSecVerifier verify
INFO: RRset failed to verify due to lack of signatures
AD-Flag: false
RCode: SERVFAIL
Reason: validate.bogus:dnskey.no_ds_match
Using resolver: 1.1.1.1
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 185.228.168.9
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 64.6.64.6
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 198.101.242.72
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 176.103.130.130
---gmx.net.
Apr. 01, 2019 5:53:02 NACHM. org.jitsi.dnssec.validator.DnsSecVerifier verify
INFO: RRset failed to verify due to lack of signatures
AD-Flag: false
RCode: SERVFAIL
Reason: validate.bogus.badkey:gmx.net.:failed.ds
Using resolver: 45.33.97.5
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 91.239.100.100
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 74.82.42.42
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 77.88.8.8
---gmx.net.
AD-Flag: true
RCode: NOERROR
Using resolver: 109.69.8.51
---gmx.net.
AD-Flag: true
RCode: NOERROR
Hi,
thank you very much for your answer. We have analyzed this issue further and I would like to share the results with you. bind has the configuration option minimal-responses. This is configured with the values yes or no. If we configure bind with minimal-responses yes, then we haven't seen any issues. If we configure it with minimal-responses no, then the issue with the missing signature in the authority section appears. We would be grateful if you could consider this option in the project and provide an update for it. Is this possible?
Thank you very much.
Best Regards
Vangelis
Can you please provide examples of a failing and a succeeding responses, e.g. a Wireshark capture or a BIND config to reproduce the queries? Failing this, I'll need at least trace-level log output from a query.
I'm wondering which additional records end up in the Authority section that cannot be validated. RFC 4035 mandates that RRsets in the Authority section need to have corresponding RRSIGs.
Hello Ingo,
we have provided the wireshark traces per Email.
Best Regards
Vangelis
To which address? I haven't received anything.
Got them now, thanks! It'll take me a while to dive into this.
@mtgag could you please check if #16 fixes this for you?
v1.2.0 which contains this fix is now released to Maven Central.
Dear all,
when trying to validate records of gmx.net a SERVFAIL response appears. Do you know what the issue might be and if there is a fix for would it be possible to update the project providing it?
Please find a small programm demonstrating this issue.
import java.io.ByteArrayInputStream;
import org.jitsi.dnssec.validator.ValidatingResolver; import org.xbill.DNS.DClass; import org.xbill.DNS.Flags; import org.xbill.DNS.Message; import org.xbill.DNS.Name; import org.xbill.DNS.RRset; import org.xbill.DNS.Rcode; import org.xbill.DNS.Record; import org.xbill.DNS.Section; import org.xbill.DNS.SimpleResolver; import org.xbill.DNS.TXTRecord; import org.xbill.DNS.Type;
/**
Thank you very much.
Best Regards
Vangelis