Partager via


AddByX25 method of the PS_DnsServerResourceRecord class

Adds the record to a specified zone in a DNS server.

Syntax

uint32 AddByX25(
  [in]  string                  PsdnAddress,
  [in]  string                  ZoneName,
  [in]  datetime                TimeToLive,
  [in]  boolean                 X25,
  [in]  boolean                 AllowUpdateAny,
  [in]  string                  Name,
  [in]  string                  ComputerName,
  [in]  boolean                 AgeRecord,
  [in]  boolean                 PassThru,
  [in]  string                  ZoneScope,
  [in]  string                  VirtualizationInstance,
  [out] DnsServerResourceRecord cmdletOutput
);

Parameters

PsdnAddress [in]

PSDN address of the owner of the RR.

ZoneName [in]

Specifies the name of the zone.

TimeToLive [in]

Time To Live in seconds

X25 [in]

If specified, creates an X25 DNS Server resource record.

AllowUpdateAny [in]

Allow any authenticated user to update DNS record with same owner name

Name [in]

Record Name

ComputerName [in]

Specifies the remote computer on which to execute the command

AgeRecord [in]

If specified creates the record with current timestamp so that the record can be scavenged.

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
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerResourceRecord