Get-DynDnsRecord

SYNOPSIS

The command Get-DynDnsRecord retrieves one or all records of the specified type from a specified zone/node.

SYNTAX

Get-DynDnsRecord [-Zone] <String> [[-RecordType] <String>] [[-Node] <String>] [<CommonParameters>]

DESCRIPTION

The command Get-DynDnsRecord retrieves one or all records of the specified type from a specified zone/node.

EXAMPLES

Example 1

PS C:\> Get-DynDnsRecord -Zone anovelidea.org -RecordType A


Address : 74.125.21.121
Zone    : anovelidea.org
Name    : anovelidea.org
Type    : A
TTL     : 3600

List all A records for the node anovelidea.org.

Example 2

PS C:\> Get-DynDnsRecord -Zone anovelidea.org -RecordType SOA


Administrator          : powershell.anovelidea.org.
SerialNumber           : 2018110400
PrimaryServer          : ns1.p01.dynect.net.
TimeToExpiration       : 604800
TimeToZoneFailureRetry : 600
TimeToZoneRefresh      : 3600
DefaultTTL             : 1800
Zone                   : anovelidea.org
Name                   : anovelidea.org
Type                   : SOA
TTL                    : 3600

List all NameServer (NS) records in the zone anovelidea.org.

PARAMETERS

-Zone

The zone in which to query for the specific record type.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Node

A node in the specified zone. If the node does not end with the domain of the zone, it will be appended.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RecordType

Specifies the record type for which to query.

The following record types are currently supported.

  • A
  • TXT
  • CNAME
  • MX
  • SRV
  • PTR
  • SOA
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: SOA, NS, MX, TXT, SRV, CNAME, PTR, A, All

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None

OUTPUTS

DynDnsRecord

NOTES

Add-DynDnsRecord

Remove-DynDnsRecord

Get A Records (API)

Get PTR Records (API)

Get CNAME Records (API)

Get SRV Records (API)

Get TXT Records (API)

Get MX Records (API)

Get NS Records (API)

Get SOA Records (API)

Get All Records (API)