AddByAAAA method of the PS_DnsServerResourceRecord class
Adds a type AAAA resource record to a DNS server.
Syntax
uint32 AddByAAAA(
[in] string IPv6Address,
[in] string ZoneName,
[in] boolean CreatePtr,
[in] boolean AgeRecord,
[in] datetime TimeToLive,
[in] boolean AllowUpdateAny,
[in] string ComputerName,
[in] string Name,
[in] boolean AAAA,
[in] boolean PassThru,
[in] string ZoneScope,
[in] string VirtualizationInstance,
[out] DnsServerResourceRecord cmdletOutput
);
Parameters
-
IPv6Address [in]
-
Specifies an array of IPv6 addresses.
-
ZoneName [in]
-
Specifies the name of the DNS zone to which the record is being added.
-
CreatePtr [in]
-
Indicates that the DNS server automatically creates an associated pointer (PTR) resource record for an AAAA record. A PTR resource record maps an IP address to an FQDN.
-
AgeRecord [in]
-
Indicates that the DNS server uses a time stamp for the resource record that this method adds. A DNS server can scavenge resource records that have become stale based on a time stamp.
-
TimeToLive [in]
-
Specifies the Time to Live (TTL) value, in seconds, for a resource record. Other DNS servers use this length of time to determine how long to cache a record.
-
AllowUpdateAny [in]
-
Allows any authenticated user to update DNS record with same owner name
-
ComputerName [in]
-
Specifies a DNS server. If you do not specify this parameter, the command runs on the local system. You can specify an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.
-
Name [in]
-
Specifies a host name.
-
AAAA [in]
-
If specified, creates a DNS Server Resource Record AAAA.
-
PassThru [in]
-
true to return the object that was modified by the method. By default, this method does not generate any output.
-
ZoneScope [in]
-
Name of the zone scope.
Windows Server 2012: Not supported.
-
VirtualizationInstance [in]
-
Unique identifier of the virtualization instance.
Windows Server 2012 R2 and Windows Server 2012: This parameter is unavailable prior to Windows Server 2016.
-
cmdletOutput [out]
-
Receives an embedded instance of the DnsServerResourceRecord class.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|