This project has moved. For the latest updates, please go here.


DNSSEC validation not working


Using the latest Version (2.2.6) and this code using the Google DNS servers:
var resolver = new SelfValidatingInternalDnsSecStubResolver(new[] {IPAddress.Parse(""), IPAddress.Parse("")});
var result = resolver.ResolveSecureAsync<SoaRecord>("de", RecordType.Soa).Result;
When run, a ARSoft.Tools.Net.Dns.DnsSecValidationException exception is thrown with the text

"Response records could not be validated"

When stepping through the code, I found out that ultimately DnsKeyRecord.VerifyRsa method fails to validate the DnsKey.

And I get the answer above for all the DNSSEC protected sites I've tried.

In the past, this worked.

Is there anything wrong with my code?
Closed Oct 30, 2016 at 12:36 PM by AlexReinert
Issue fixed in 2.2.7