DnsServerResourceRecord class
DNS Server Resource Record.
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 DnsServerResourceRecord : DnsDomain
{
string DistinguishedName;
string HostName;
string RecordType;
string RecordClass;
datetime TimeToLive;
DnsServerResourceRecordData RecordData;
datetime Timestamp;
uint16 Type;
};
Members
The DnsServerResourceRecord class has these types of members:
Properties
The DnsServerResourceRecord class has these properties.
-
DistinguishedName
-
-
Data type: string
-
Access type: Read-only
The Lightweight Directory Access Protocol (LDAP) name of the domain.
This property is inherited from DnsDomain.
-
-
HostName
-
-
Data type: string
-
Access type: Read-only
Host Name
-
-
RecordClass
-
-
Data type: string
-
Access type: Read-only
Class
The possible values are.
-
-
IN ("IN")
-
CSNET ("CSNET")
-
CHAOS ("CHAOS")
-
Hesiod ("Hesiod")
RecordData
-
Data type: DnsServerResourceRecordData
-
Access type: Read/write
-
Qualifiers: EmbeddedInstance ("DnsServerResourceRecordData")
Record Data
RecordType
-
Data type: string
-
Access type: Read-only
Record Type
The possible values are.
A ("A")
Ns ("Ns")
Md ("Md")
Mf ("Mf")
CName ("CName")
Soa ("Soa")
Mb ("Mb")
Mg ("Mg")
Mr ("Mr")
Null ("Null")
Wks ("Wks")
Ptr ("Ptr")
HInfo ("HInfo")
MInfo ("MInfo")
Mx ("Mx")
Text ("Text")
Rp ("Rp")
Afsdb ("Afsdb")
X25 ("X25")
Isdn ("Isdn")
Rt ("Rt")
Nsap ("Nsap")
NsapPtr ("NsapPtr")
Sig ("Sig")
Key ("Key")
Px ("Px")
Gpos ("Gpos")
AAAA ("AAAA")
Loc ("Loc")
Nxt ("Nxt")
Eid ("Eid")
NimLoc ("NimLoc")
Srv ("Srv")
Atma ("Atma")
Naptr ("Naptr")
Kx ("Kx")
Cert ("Cert")
A6 ("A6")
DName ("DName")
Sink ("Sink")
Opt ("Opt")
Ds ("Ds")
Rrsig ("Rrsig")
NSEC ("NSEC")
DnsKey ("DnsKey")
DhcId ("DhcId")
Wins ("Wins")
WinsR ("WinsR")
TLSA ("TLSA")
Windows Server 2012 R2 and Windows Server 2012: Not supported.
UNKNOWN ("UNKNOWN")
Windows Server 2012 R2 and Windows Server 2012: Not supported.
Timestamp
-
Data type: datetime
-
Access type: Read-only
Time at which Resource Record was refreshed. Expressed in hours since January 1, 1601, Greenwich Mean Time (GMT)
TimeToLive
-
Data type: datetime
-
Access type: Read/write
Time To Live in seconds
Type
-
Data type: uint16
-
Access type: Read-only
Type for Unknown record.
Windows Server 2012 R2 and Windows Server 2012: Not supported.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|