How to Use the DNS Record Formatter & Syntax Validator
-
1
Select a DNS record type (A, AAAA, CNAME, MX, TXT/SPF, DKIM, DMARC, or SOA).
-
2
Enter the host name, target value, TTL, and priority (for MX/SRV).
-
3
The tool validates syntax (e.g. valid IP, correct DMARC tags, valid SPF mechanisms).
-
4
Copy the formatted standard BIND zone file line or registrar entry.
Practical Example & Use Case
Generating a valid DMARC TXT record `v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com; sp=reject; pct=100` with syntax verification.
Technical Notes & Limitations
Validates syntax format client-side; does not perform live network socket queries.
Frequently Asked Questions
What is the format of an MX record?
An MX record requires a priority integer followed by the fully qualified mail server domain name (e.g. `10 mail.example.com`).