MichaCo / DnsClient.NET

DnsClient.NET is a simple yet very powerful and high performant open source library for the .NET Framework to do DNS lookups
https://dnsclient.michaco.net
Apache License 2.0
781 stars 137 forks source link

Verifying MX records? #196

Closed cryo75 closed 1 year ago

cryo75 commented 1 year ago

Domains like icoud.com or googglemail.com return answers but they should be incorrect mail exchanges. How can I make sure that the domain is a valid mail exchange?

MichaCo commented 1 year ago

I do not understand what you mean by, you got an answer and they should be incorrect?!

And I have no idea how to properly validate an email server. But you could probably just use the smpt protocol / or a mail client , and try to connect to see what the response is? Anyways, that has nothing todo with DNS and I'm not really sure what you are asking for.