Copy-ready commandnslookup
nslookup -type=mx example.comRequirements and permissions
- Requirements
- Windows 10/11 or Windows Server
- Permissions
- Varies by command
- Last reviewed
- 2026-07-31
Examples
Basic example
Query DNS records.
nslookup -type=mx example.comCommon errors
Command not found
Confirm Windows 10/11 or Windows Server is installed and available in your current shell.