Skip to main content
KalkuNet

DNS CNAME, MX & TXT Record Generator — With Conflict Checks

Build prioritized MX mail server records, CNAME aliases & TXT verification entries.

Runs in your browserNetwork · IP, DNS & Domain Diagnostics
InputOwnerTTLTypeRDATA
10 mx1.example.netexample.com.3600MX10 mx1.example.net.
20 mx2.example.netexample.com.3600MX20 mx2.example.net.
newsletter 0 .newsletter.example.com.3600MX0 .
www example.com.cdn.example.netwww.example.com.3600CNAMEexample.com.cdn.example.net.
shop shops.example.orgshop.example.com.3600CNAMEshops.example.org.
mail mail-hostmail.example.com.3600CNAMEmail-host.example.com.
v=spf1 include:_spf.example.net -allexample.com.3600TXT"v=spf1 include:_spf.example.net -all"
_dmarc v=DMARC1; p=quarantine; rua=mailto:[email protected]_dmarc.example.com.3600TXT"v=DMARC1; p=quarantine; rua=mailto:[email protected]"
newsletter v=spf1 -allnewsletter.example.com.3600TXT"v=spf1 -all"

A one-label target (e.g. mail-host) is relative to the zone domain; a dotted name is written in full with its final dot, so it never gets the zone domain appended twice. Mail server "." means a null MX (the domain takes no mail).

When to use the DNS CNAME, MX & TXT Record Generator

  • CNAME conflicts prevented

    A CNAME must stand alone: not at the zone domain (@) and not sharing a name with an MX, TXT or another CNAME (RFC 1034, RFC 2181). Offending lines are refused with the reason, because DNS servers refuse them too.

  • Correct MX records

    The mail server must be a host name, not an IP address, and should not be a CNAME alias (RFC 2181 §10.3). A null MX with a dot target marks a domain that takes no mail, and it must be the only MX at that name (RFC 7505).

  • Long TXT split correctly

    Text longer than 255 bytes, such as DKIM keys or long SPF records, is split into several 255-byte strings with correct escaping, UTF-8 characters counted by byte.

  • SPF and DMARC checked

    Two SPF records at one name are refused because they make every check fail, and a record at _dmarc that does not start with v=DMARC1 gets a warning.

Frequently asked questions

How do I write an MX for the main domain?

Just write the preference and server, such as 10 mx1.example.net. The @ name is used automatically when a line starts with a number.

Why is a CNAME at @ refused?

The zone domain always has SOA and NS records, and a CNAME cannot sit beside other records. Use A/AAAA records, or your DNS provider's CNAME flattening/ALIAS feature.

What does the MX preference mean?

Lower numbers are tried first. Servers with the same number share the load, and higher numbers act as backups.

How do I write spaced text at @?

Put it in quotes, such as "hello world". Without quotes, the first word is taken as the record's owner name.

Is my data sent to a server?

No. Records are built and checked in your browser.

Learn more