DNS Record Builder

Construct DNS records and export BIND zone file format. Supports A, AAAA, CNAME, MX, TXT, SRV, NS with SPF helpers.

Last reviewed: April 2026

New to this tool? Click here for instructions

BIND Zone File Output
; Add records above to generate BIND zone file output.
Add DNS records above to generate BIND zone format.

How to use DNS Record Builder

To use the DNS Record Builder, follow these steps:

1. Visit the DNS Record Builder page on ThisDevTool.

2. Select the type of DNS record you want to create (A, AAAA, CNAME, MX, TXT, SRV, NS).

3. Fill in the necessary details for the record.

4. Click 'Generate' to create the DNS record.

5. Copy the generated DNS record and paste it into your DNS management panel.

When to use DNS Record Builder

Use the DNS Record Builder when you need to construct DNS records for your domain. This includes setting up email, configuring servers, and managing domain infrastructure. It's particularly useful for managing A, AAAA, CNAME, MX, TXT, SRV, and NS records.

How it works

The DNS Record Builder works by allowing you to input the necessary details for a DNS record, such as the hostname, IP address, and record type. It then generates the appropriate DNS record in the BIND zone file format. The tool also includes helpers for SPF, DKIM, and DMARC records to ensure your DNS setup is secure and compliant.

Tips, Edge Cases, or Limitations

1. Always verify the generated DNS records before pasting them into your DNS management panel.

2. Be aware of the TTL (Time to Live) values when setting up DNS records. Lower TTLs enable faster updates but increase resolver query load.

3. Some DNS providers offer ALIAS or ANAME records as a CNAME-at-apex workaround.

4. When setting up MX records, always point them to A/AAAA records, never to CNAMEs.

5. The tool supports both IPv4 and IPv6 addresses with A and AAAA records.

Frequently Asked Questions

An A record maps a hostname to an IPv4 address (32-bit), while an AAAA record maps a hostname to an IPv6 address (128-bit).
A CNAME record creates an alias for a hostname. Use it for the www subdomain, for CDN-hosted assets, and for third-party services. Avoid creating a CNAME at the zone apex and ensure it doesn't coexist with other record types for the same name.
An SPF record specifies which mail servers are authorized to send email on behalf of your domain. To create an SPF record, list the mail servers that are allowed to send email for your domain. Use the SPF Record Helper in the DNS Record Builder to generate the appropriate SPF record.
TTL (Time to Live) is the duration for which a DNS record is cached by a resolver. Lower TTL values enable faster updates but increase resolver query load.
The BIND zone file format is a text-based file that contains DNS records for a domain. It is used by authoritative nameservers to store and manage DNS records. The DNS Record Builder generates BIND zone files based on the DNS records you create.

Quick reference

DNS Record Builder Quick Reference
Type TTL Value Notes
A 3600 192.0.2.1 IPv4 address mapping
CNAME 86400 www.example.com Canonical name alias
MX 3600 mail.example.com Mail exchange server
TXT 300 "v=spf1 include:_spf.example.com" SPF record for email validation
SRV 43200 ._tcp.example.com Service location record
AAAA 3600 2001:db8::1 IPv6 address mapping