Freigeben über


PS_DnsServerResourceRecord class

A DNS Server Resource Record definition.

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 PS_DnsServerResourceRecord
{
};

Members

The PS_DnsServerResourceRecord class has these types of members:

Methods

The PS_DnsServerResourceRecord class has these methods.

Method Description
AddByA Adds a host address (A) resource record resource to a DNS server.
AddByAAAA Adds a type AAAA resource record to a DNS server.
AddByAfsdb Adds an Andrew File System cell database server (AFSDB) resource record type in the specified zone.
AddByAtma Adds an ATM address resource record type in the specified zone.
AddByCName Adds a type CNAME resource record to a DNS server.
AddByDhcId Adds a Dynamic Host Configuration Protocol Information (DHCID) resource record type in the specified zone.
AddByDName Adds a domain alias (DNAME) resource record on a DNS server. type in the specified zone.
AddByHInfo Adds a host information (HINFO) resource record type in the specified zone.
AddByInputObject Adds a resource record of specified type in the specified zone.
AddByIsdn Adds an Integrated Services Digital Network (ISDN) resource record type in the specified zone.
AddByMX Adds an MX resource record to a DNS server.
AddByNs Adds a Name Server (NS) resource record type in the specified zone.
AddByPtr Adds a type PTR resource record to a DNS server.
AddByRP Adds a Responsible Person (RP) resource record type in the specified zone.
AddByRt Adds a Route Through (RT) resource record type in the specified zone.
AddBySrv Adds a service (SRV) resource record type in the specified zone.
AddByTLSA Adds the record to a specified zone in a DNS server.
AddByTxt Adds a TXT resource record type in the specified zone.
AddByUnknown Adds the record to a specified zone in a DNS server.
AddByWins Adds a WINS resource record type in the specified zone.
AddByWinsR Adds a WINS reverse (WinsR) resource record type in the specified zone.
AddByWks Adds a WKS resource record type in the specified zone.
AddByX25 Adds an X25 resource record type in the specified zone.
Get Gets resource records from a specified zone.
GetByUnknown Retrieve resource record from a specified zone.
RemoveByInputObject Removes specified DNS server resource records from a zone.
RemoveByName Removes specified DNS server resource records from a zone.
RemoveByUnknown Deletes the specified DNS Resource Record.
Set Changes a resource record in a DNS server zone.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider