Networking

DNS Record Builder & Parser

Build and read zone-file records, with checks for the trailing-dot and CNAME traps.

Zone

Any name in a record that does not end in a dot has this appended.

Records

Maps a name to an IPv4 address.

Aliases this name to another name. Cannot coexist with other records.

Names a mail exchanger for the domain.

Arbitrary text. Used for SPF, DKIM, DMARC and domain verification.

Zone file
$ORIGIN example.com.
; name	ttl	class	type	data
@	3600	IN	A	192.0.2.10
www	3600	IN	CNAME	example.com.
@	3600	IN	MX	10	mail.example.com.
@	3600	IN	TXT	"v=spf1 include:_spf.example.com ~all"
  • No common problems found in these records.