DnsQueryStatus Enumeration

The outcome of a DNS query.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public enum DnsQueryStatus

Remarks

The outcome of a DNS query performed by an IDnsResolver.

Members

Success 0 The query completed successfully (the DNS response code was NOERROR).
NonExistentDomain 1 The domain name does not exist (the DNS response code was NXDOMAIN).
TemporaryFailure 2 The query could not be completed, for example due to a timeout, a network error or a SERVFAIL response. Retrying the query later may succeed.

See Also