QueryType Parameter (Get-DNS Cmdlet)

The record type to query.

Syntax

Get-DNS -QueryType string

Remarks

Before a query is attempted, QueryType must be set to the desired record type. The records are defined as follows:

A Address Records
NSName Server Records
MDMail Destination Records
MFMail Forwarder Records
CNameCanonical Name Records
SOAStart Of Authority Records
MailBoxMailBox Records
MailGroupMail Group Records
MRMailBox Rename Records
NULL NULL Records
WKS Well Known Services Records
Ptr Pointer Records
HInfo Host Information Records
MailInfo Mail Information Records
MX Mail Exchange Records
Text Text Records
RP Responsible Person Records
AFSDB Service Records
X25X25 Records
ISDN ISDN Records
RT Route Through Records
AAAA AAAA Record
SRVSRV Record (location of services)
RevReverse Lookup

Default Value

1

Parameter Position

1

Parameter Alias

type

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]