< Back

Get-DnsZoneTransfer

Wed Jan 15, 2020 2:12 am

NAME Get-DnsZoneTransfer



SYNOPSIS

Get the content of a DNS zone using zone transfer.





SYNTAX

Get-DnsZoneTransfer [-ZoneName] <String> [-SerialNumber <UInt32>] [-Port <UInt16>] [-Timeout <Byte>] [-IPv6]

[-ComputerName <String>] [<CommonParameters>]





DESCRIPTION

Get the content of a DNS zone using zone transfer.





PARAMETERS

-ZoneName <String>

The name of the zone to transfer.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-SerialNumber <UInt32>

If the serial number is set, an incremental zone transfer is performed.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Port <UInt16>

By default, DNS uses TCP or UDP port 53. The port used to send queries may be changed if a server is listening

on a different port.



Required? false

Position? named

Default value 53

Accept pipeline input? false

Accept wildcard characters? false



-Timeout <Byte>

By default, queries will timeout after 5 seconds. The value may be set between 1 and 30 seconds.



Required? false

Position? named

Default value 5

Accept pipeline input? false

Accept wildcard characters? false



-IPv6 [<SwitchParameter>]

Force the use of IPv6 for queries, if this parameter is set and the ComputerName is set to a name (e.g.

ns1.domain.example), Get-Dns will attempt to locate an AAAA record for the server.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ComputerName <String>

A server name or IP address to execute a query against. If an IPv6 address is used Get-Dns will attempt the

query using IPv6 (enables the IPv6 parameter).



If a name is used another lookup will be required to resolve the name to an IP. Get-Dns caches responses for

queries performed involving the Server parameter. The cache may be viewed and maintained using the

*-InternalDnsCache CmdLets.



If no server name is defined, the Get-DnsServerList command is used to discover locally configured DNS servers.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS