
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 2026New to this tool? Click here for instructions
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
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 |