Domain Detective

API Reference

Enum

DnsQueryErrorCode

Namespace DnsClientX
Assembly DnsClientX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Normalized error categories for DNS queries.

Inheritance

  • Enum
  • DnsQueryErrorCode

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const DnsQueryErrorCode None #

No error.

Value: 0
public const DnsQueryErrorCode Timeout #

Operation timed out.

Value: 1
public const DnsQueryErrorCode Network #

Network-related failure (socket, connectivity, etc.).

Value: 2
public const DnsQueryErrorCode InvalidResponse #

Response could not be parsed or was invalid.

Value: 3
public const DnsQueryErrorCode ServFail #

Generic server failure or unspecified error.

Value: 4
{{ include "footer" }}