DnsServerValidity class
Represents a set of validation results for a DNS server.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerValidity
{
string IPAddress;
string Result;
boolean UdpTried;
boolean TcpTried;
datetime RoundTripTime;
};
Members
The DnsServerValidity class has these types of members:
Properties
The DnsServerValidity class has these properties.
-
IPAddress
-
-
Data type: string
-
Access type: Read-only
The IP address of DNS server.
-
-
Result
-
-
Data type: string
-
Access type: Read-only
The validation results.
The possible values are.
-
-
Success ("Success")
-
InvalidAddress ("InvalidAddress")
-
Unreachable ("Unreachable")
-
NoResponse ("NoResponse")
-
NotAuthoritativeForZone ("NotAuthoritativeForZone")
-
IPV4NotSupported ("IPV4NotSupported")
-
IPV6NotSupported ("IPV6NotSupported")
-
UnknownError ("UnknownError")
RoundTripTime
-
Data type: datetime
-
Access type: Read-only
The duration of the validation operation.
TcpTried
-
Data type: boolean
-
Access type: Read-only
true if TCP validation was performed on the server; otherwise, false.
UdpTried
-
Data type: boolean
-
Access type: Read-only
true if UDP validation was performed on the server; otherwise, false.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|