ED

DNS Zone File Generator

Create RFC-compliant DNS zone files with validation, templates, and export options.

What It Does

Generate complete DNS zone files for BIND, PowerDNS, or any RFC 1035-compliant nameserver. Includes:

Quick Start

  1. Go to DNS Zone Generator
  2. Enter your domain name (e.g., example.com)
  3. Choose a template or click "Add Record"
  4. Fill in record details (type, name, value, TTL)
  5. Click "Validate" to check syntax
  6. Export as BIND zone file or save to library

Supported Record Types

TypeUse CaseExample
AIPv4 address@ IN A 192.0.2.1
AAAAIPv6 address@ IN AAAA 2001:db8::1
MXMail server@ IN MX 10 mail.example.com.
TXTSPF, DKIM, verification@ IN TXT "v=spf1 include:_spf.google.com ~all"
CNAMEAliaswww IN CNAME example.com.
NSNameserver@ IN NS ns1.example.com.
SRVService record_sip._tcp IN SRV 10 60 5060 sipserver.example.com.
CAACertificate Authority@ IN CAA 0 issue "letsencrypt.org"

Templates

1. Basic Website

; Basic website setup
@       IN  A       192.0.2.1
www     IN  CNAME   @
@       IN  MX  10  mail.example.com.
@       IN  TXT     "v=spf1 mx ~all"

2. Email Server

@       IN  MX  10  mail.example.com.
mail    IN  A       192.0.2.2
@       IN  TXT     "v=spf1 a mx ~all"
_dmarc  IN  TXT     "v=DMARC1; p=quarantine; rua=mailto:[email protected]"

3. CDN with Cloudflare

@       IN  A       104.21.0.1
@       IN  AAAA    2606:4700::1
www     IN  CNAME   @
@       IN  CAA     0 issue "letsencrypt.org"

Validation Rules

The generator checks for:

Best Practices

Export & Import

Export: Click "Export" → Choose format (BIND, JSON, CSV) → Download

Import: Click "Import" → Paste existing zone file → System parses and loads records

Save Template: After creating a config, click "Save as Template" for reuse on other domains.

Ready to Generate Zone Files?

Open DNS Zone Generator →