MailBee.DnsMX namespace contains classes, interfaces and enumerations related to performing DNS MX lookup queries. For instance, SmtpMail.Smtp component can take advantage of DNS MX lookup functions to to send e-mails directly to mail servers of end recipients (without an SMTP relay server).
MailBee supports caching DNS records which greatly improves DNS MX lookup performance.
| Class | Description |
|---|---|
| DnsCache | Provides properties and methods which allow the developer to control whether and how MailBee will cache DNS MX records when performing DNS MX lookup queries. |
| DnsServer | Represents a DNS server to be queried about domain names of the Internet hosts. |
| DnsServerCollection | Represents a sorted collection of DnsServer objects. |
| MailBeeDnsLackOfRecursionException | The exception that is thrown if the DNS server returned no records of A type for the given host name. |
| MailBeeDnsNameErrorException | The exception that is thrown when the DNS server cannot find the queried domain name in the domains database. |
| MailBeeDnsProtocolException | The exception that is thrown when either MailBee or a DNS server encounter DNS protocol error. |
| MailBeeDnsProtocolNegativeResponseException | The exception that is thrown when the DNS server replied with non-successful (non-zero) response code. |
| MailBeeDnsQueryMismatchException | The exception that is thrown when the response got from the DNS server does not match the original query to the DNS server. |
| MailBeeDnsServerDisabledException | The exception that is thrown when there was an attempt to connect to the DNS server banned by MailBee because this server is down. |
| MailBeeInvalidBinaryResponseException | The exception that is thrown when the binary response from the server cannot be parsed. |
| Interface | Description |
|---|---|
| IMailBeeNegativeDnsResponseException | Defines properties which provide additional information regarding the negative response from the DNS server. |
| Enumeration | Description |
|---|---|
| DnsAutodetectOptions | Provides options for selecting methods of automatic detection of the DNS servers registered in the system. |
| DnsReplyCode | Lists DNS server known reply codes. |