DNS Record Builder
Build DNS records visually. Select a record type, fill in the fields, and get the zone file format line plus a dig command to verify propagation. Covers A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, and PTR records.
Frequently Asked Questions
What is the difference between A and CNAME records?▼
An A record maps a hostname directly to an IPv4 address (e.g. example.com → 93.184.216.34). A CNAME record creates an alias that points to another hostname, which must itself resolve to an IP (e.g. www.example.com → example.com). You cannot use a CNAME at the root/apex domain (@ or example.com) because it would conflict with SOA/NS records. Use an A record there, or ALIAS/ANAME records if your DNS provider supports them.
What is TTL and what value should I use?▼
TTL (Time To Live) is how long DNS resolvers cache your record before checking for updates. Low TTL (60-300s) = faster propagation of changes but more DNS queries. High TTL (3600-86400s) = faster lookups for clients, less DNS traffic, but slow propagation when you update. Before a planned migration, lower your TTL 24-48 hours in advance so the change takes effect quickly on cutover day.
How do I set up email authentication (SPF, DKIM, DMARC)?▼
SPF: add a TXT record at your root domain with 'v=spf1 include:_spf.yourprovider.com ~all'. DKIM: add a TXT record at 'selector._domainkey.yourdomain.com' with the public key from your email provider. DMARC: add a TXT record at '_dmarc.yourdomain.com' with 'v=DMARC1; p=quarantine; rua=mailto:[email protected]'. All three together protect your domain from email spoofing.
What does the trailing dot mean in DNS records?▼
A trailing dot (e.g. example.com.) marks the domain as a fully qualified domain name (FQDN) — an absolute domain from the DNS root. Without the dot, some DNS servers treat it as relative to the current zone origin and may append the zone name, causing incorrect resolution. When entering target values for CNAME, MX, NS, and SRV records, always use the trailing dot for safety.
What are CAA records and do I need them?▼
CAA (Certification Authority Authorization) records specify which Certificate Authorities (CAs) are allowed to issue SSL/TLS certificates for your domain. Without CAA records, any CA can issue a cert for your domain. With CAA records, if a CA sees it's not listed, it will refuse to issue — providing an extra layer of protection against mis-issuance. If you use Let's Encrypt, add: 0 issue 'letsencrypt.org'.
How do I verify a DNS change with dig?▼
Run 'dig yourdomain.com A' to look up an A record. Add '+trace' for full recursive resolution. Use '@8.8.8.8' to query Google's DNS specifically (e.g. dig @8.8.8.8 yourdomain.com TXT). Use 'dig +short' for a clean one-line answer. DNS changes can take minutes to 48 hours to propagate worldwide — check multiple resolvers to confirm.
Related Products
on GumroadPremium Workflow Pack
Production-grade workflows, architecture guides, and deployment scripts for teams that ship. 10 advanced CI/CD workflows (blue-green, canary, E2E, security), 5 architecture deep-dives, code review checklist, PR process guide, and 5 battle-tested Bash deployment scripts.
Buy on Gumroad →GitHub Actions CI/CD Templates Pack
12 production-ready GitHub Actions workflow templates covering Node.js, Python, Docker, multi-environment deployments, security scanning, and auto-changelog. Copy, paste, ship.
Buy on Gumroad →Developer Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →You Might Also Need
DNS Lookup Tool
Look up A, AAAA, CNAME, MX, TXT, NS, SOA, and PTR records for any domain using the Cloudflare DNS-over-HTTPS API. Fully client-side, no server required.
Open free tool →
Azure ARM Template Validator
Validate Azure ARM template JSON. Checks $schema, contentVersion, resource fields, securestring parameters, hardcoded locations, and best practices.
Open free tool →
Infrastructure Cost Calculator
Compare and estimate monthly infrastructure costs for AWS EC2, Azure VMs, and Google Compute Engine. Add storage and data transfer for total monthly cloud cost.
Open free tool →
More Free Tools
Related Articles
AWS CDK vs Terraform vs Pulumi: Infrastructure as Code Comparison 2026
Complete comparison of AWS CDK, Terraform, and Pulumi for infrastructure as code in 2026 — language support, state management, multi-cloud, community, and when to use each.
Backstage Internal Developer Portal: Complete Setup Guide 2026
Learn how to set up Backstage IDP from scratch. Covers software catalog, TechDocs, plugins, CI/CD integration, and building a self-service developer platform your team will actually use.
Cilium Service Mesh vs Istio vs Linkerd: Kubernetes Networking 2026
Comprehensive comparison of Cilium, Istio, and Linkerd for Kubernetes service mesh in 2026. eBPF networking, performance benchmarks, mTLS, observability, and when to use each.
Ansible vs Chef vs Puppet: Configuration Management Tools Compared 2026
Ansible vs Chef vs Puppet — compare agentless vs agent-based architecture, YAML vs Ruby DSL, scalability, Windows support, and cloud integration. Find the right config management tool for 2026.
Best Hosting Platforms for Developers in 2026: Cloudflare vs Vercel vs DigitalOcean
An honest comparison of the top developer hosting platforms in 2026. Cloudflare Pages, Vercel, DigitalOcean App Platform, Railway, and Render — pricing, performance, and when to use each.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →