DNS Record Formatter
Build a DNS record correctly before you paste it into your registrar: choose the type (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA), enter name, TTL and value, and get a proper zone-file line — with per-type validation that catches the classic mistakes, like a CNAME pointing at an IP or an MX without a priority.
- 100% Free
- No Registration
- Works in Your Browser
This tool's workspace loads here.
How to Use
- Choose the record type.
- Enter the name (@ for the root) and TTL.
- Enter the value, plus priority/weight/port for MX and SRV.
- Copy the zone-file line, or read the fields into your registrar's form.
About This Tool
Build a DNS record correctly before you paste it into your registrar: choose the type (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA), enter name, TTL and value, and get a proper zone-file line — with per-type validation that catches the classic mistakes, like a CNAME pointing at an IP or an MX without a priority.
Frequently Asked Questions
What is TTL?
Time To Live — how long resolvers may cache the record, in seconds. 3600 = one hour.
Why did my MX record fail?
MX records need a priority number (lower = tried first). The formatter adds it to the line and flags it when missing.
Is anything uploaded?
No. Formatting and validation happen in your browser.