Resolve DNS command

Want to easily get a specific record type of a domain? E.g. all the TXT records of a domain? Open PowerShell or terminal (W11) and type:

Resolve-DnsName -name domain.com -type txt

This command will give you a full list of all the txt records. Great function to check fast what the mx records are for example

Last updated

Was this helpful?