< Back

Get-DynDnsRecord

Sat Jan 18, 2020 8:15 pm

NAME 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] {SOA | NS | MX | TXT | SRV | CNAME | PTR | A | All}] [[-Node]

<String>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-Node <String>

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



Required? false

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecordType <String>

Specifies the record type for which to query.



The following record types are currently supported.



* A



* TXT



* CNAME



* MX



* SRV



* PTR



* SOA



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Zone <String>

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



Required? true

Position? 0

Default value None

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

None







OUTPUTS

DynDnsRecord







NOTES









-------------------------- 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.



RELATED LINKS

Online Version: https://powershell.anovelidea.org/modul ... ecord.html

Add-DynDnsRecord https://powershell.anovelidea.org/modul ... ecord.html

Remove-DynDnsRecord https://powershell.anovelidea.org/modul ... ecord.html

Get A Records (API) https://help.dyn.com/get-a-records-api/

Get PTR Records (API) https://help.dyn.com/get-ptr-records-api/

Get CNAME Records (API) https://help.dyn.com/get-cname-records-api/

Get SRV Records (API) https://help.dyn.com/get-srv-records-api/

Get TXT Records (API) https://help.dyn.com/get-txt-records-api/

Get MX Records (API) https://help.dyn.com/get-mx-records-api/

Get NS Records (API) https://help.dyn.com/get-ns-records-api/

Get SOA Records (API) https://help.dyn.com/get-soa-records-api/

Get All Records (API) https://help.dyn.com/get-all-records-api/