Cloudflare Bulk DNS Management

Download Sample Templates

Get started with these sample templates. Use the domain template (.txt) to add multiple domains in bulk, and the DNS record template (.txt) to create all your DNS records at once.

domain.txt

Write one domain per line

Download domain template

record.txt

Add one DNS record per line (format: subdomain,record_type,target)

Download DNS record template
You can get your API key from Cloudflare Dashboard.
Text file with one domain per line.
File Requirements:
  • Only .txt files allowed
  • Must be UTF-8 encoded
  • Maximum size: 1MB
  • One domain per line
Each line should be in "subdomain,record_type,target" format. Example: www,A,1.2.3.4
File Requirements:
  • Only .txt files allowed
  • Must be UTF-8 encoded
  • Maximum size: 1MB
  • Each line: subdomain,record_type,target format

Supported DNS record types:

  • A: IPv4 address (Example: www,A,1.2.3.4)
  • AAAA: IPv6 address (Example: www,AAAA,2001:db8::1)
  • CNAME: Domain forwarding (Example: www,CNAME,example.com)
  • MX: Mail server (Example: mail,MX,mail.example.com)
  • TXT: Text record (Example: txt,TXT,v=spf1 include:_spf.example.com ~all)
  • NS: Name server (Example: subdomain,NS,ns1.example.com)
  • SRV: Service record (Example: _sip._tcp,SRV,10 60 5060 sip.example.com)