DNS

DNS Record Generator

Generate A, AAAA, CNAME, TXT and MX records

DNS & Domain
πŸ”’ 100% client-side β€” your data never leaves this page
Maintained by Evanβ€’Updated: September 29, 2026
Options
DNS Input

Choose the record type and fill name/value first to generate the DNS record; advanced scenarios and troubleshooting are available in Advanced mode.

Record Output
DNS record line will appear here
πŸ”’ Processed locally in your browser
Page reading mode

The full guide also includes pitfalls, worked examples, snippets, FAQs, and related tools for checking results or troubleshooting.

About this tool

Format one A, AAAA, CNAME, TXT or MX record as a BIND-style line. Enter the name, value and TTL; MX adds a preference value. The tool formats text without checking addresses, quoting TXT values, adding a trailing dot to hostnames or changing DNS. Provider dashboards usually require those fields separately. A local draft is saved in this browser.

Production Snippets

A fully qualified MX target in a zone file

text

Name: @
Type: MX
TTL: 3600
Priority: 10
Value: mail.example.com.

@ 3600 IN MX 10 mail.example.com.

The final dot is supplied in the value. The generator does not append it or publish the record.

Frequently Asked Questions

Does generating a record change my DNS?

No. Apply the reviewed values through your DNS provider or zone file, then check live DNS answers separately. A successful text result is not a validation of the record.

What do MX priority and a trailing dot mean?

A lower MX preference number is tried first. In a zone file, a fully qualified mail host usually ends with a dot; without it, a relative name can inherit the zone origin. The tool does not add that dot.

Do TXT values need quotes or splitting?

In zone-file syntax, TXT text is normally quoted and individual character strings have a 255-octet limit. The generator preserves your value literally, so quoting, escaping and splitting remain your responsibility. Provider panels may expect a different input form.

Does a lower TTL make a change appear immediately?

No. TTL limits how long a resolver may cache the answer it already received. Changing TTL does not clear existing caches, and the tool neither publishes nor checks propagation.

Are DNS inputs uploaded or saved?

Generation runs locally. The form saves a browser draft; Clear removes the saved input.

Keep browsing