Skip to content
PowerShell Commands

Resolve-DnsName

Resolve-DnsName [-Name*] <string> [[-Type] {UNKNOWN | A_AAAA | A | NS | MD | MF | CNAME | SOA | MB | MG | MR | NULL| WKS | PTR | HINFO | MINFO | MX | TXT | RP | AFSDB | X25 | ISDN | RT | AAAA | SRV | DNAME | OPT | DS | RRSIG |NSEC | DNSKEY | DHCID | NSEC3 | NSEC3PARAM | ANY | ALL | WINS}] [-Server <string[]>] [-DnsOnly] [-CacheOnly][-DnssecOk] [-DnssecCd] [-NoHostsFile] [-LlmnrNetbiosOnly] [-LlmnrFallback] [-LlmnrOnly] [-NetbiosFallback][-NoIdn] [-NoRecursion] [-QuickTimeout] [-TcpOnly]  [<CommonParameters>]
Parameters

-CacheOnly


 

-DnsOnly


 

-DnssecCd


 

-DnssecOk


 

-LlmnrFallback


 

-LlmnrNetbiosOnly


 

-LlmnrOnly


 

-Name <string>

  • This value is required
  • Accepts pipeline input ByValue

 

-NetbiosFallback


 

-NoHostsFile


 

-NoIdn


 

-NoRecursion


 

-QuickTimeout


 

-Server <string[]>


 

-TcpOnly


 

-Type <RecordType>

  • Accepts pipeline input ByPropertyName

 

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.

Inputs
System.String
Microsoft.DnsClient.Commands.RecordType
Outputs
System.Object
ALIASES None

    This work is licensed under a Creative Commons Attribution 4.0 International. It is attributed to Microsoft Corporation and can be found here.

    PowerShell Commands