Reputation: 439
Using the code below to validate DANE records on different mail servers i sometimes (close to 50% of the servers tested) get a "System.AggregateException" with the inner exception "Response records could not be validated".
var resolver = new SelfValidatingInternalDnsSecStubResolver();
string mx = "mail2.amedia.nu.";
DnsSecResult<TlsaRecord> result = resolver.ResolveSecure<TlsaRecord>("_25._tcp." + mx, RecordType.Tlsa);
Console.WriteLine(result.ValidationResult.ToString());
I pasted the first 1000 failed mx servers here for testing: https://pastebin.com/14kqQT06
Any idea why this exception is thrown?
Upvotes: 0
Views: 185