Mail DNS Command Builder
Mail DNS Lookup Commands
Generate DNS lookup commands to run in your terminal. This page does not query DNS.
Usage guide & examples
Choose your OS and record type, enter a domain, then run the generated command in CMD/PowerShell or a macOS/Linux terminal. Windows uses built-in nslookup; macOS/Linux uses dig (may require installation). Copy the TXT value, not the entire terminal output, into the matching inspector.
DKIM only: enter the selector from the email’s s= tag. Public keys usually live at [selector]._domainkey.[domain]. For PTR, enter an IPv4/IPv6 address instead of a domain.
Console flow / input example
domain: example.com selector: selector1 TXT: selector1._domainkey.example.com
Processed locally. No input is uploaded or stored.
Scope
Generated text only. Nothing is executed or connected from this page.
No DNS requests here. Run the command in your OS terminal; it contacts your configured resolver. SPF is stored in TXT. PTR input must be an IP address.
Result
Where do I use this result?
No DNS requests here. Run the command in your OS terminal; it contacts your configured resolver. SPF is stored in TXT. PTR input must be an IP address.