After trying to use the wiki page (link) for how to format a zone file, so I could mass import DNS records for a domain, I noticed an issue.
Wiki says to follow this format
example.com. IN NS ns.somewhere.example.
Well if you put this into a file, and import it into Cloudflare, it doesn’t like the ‘IN’ word.
I got it to work like this.
www A 22.214.171.124
Rinse and repeat.
Cloudflare, your article (link) says to use the proper zone format, but if you go to the official wiki page for “Zone File”, you guys don’t even accept that format. Can you just provide this simple example in the import area of dns records within Cloudflare, to help people like me not have to take time to upload variations of the file till it is finally accepted?
You can upload a .txt file with just one record per line, exactly as BIND uses.
@ 600 IN MX 1 aspmx.l.google.com.
@ 600 IN MX 5 alt1.aspmx.l.google.com.
@ 600 IN MX 10 aspmx2.googlemail.com.
@ 600 IN MX 10 aspmx5.googlemail.com.
@ 600 IN A 126.96.36.199
www 600 IN CNAME youtube.com.
host891 600 IN AAAA 2607:f8b0:4000:817::2004
host892 600 IN A 188.8.131.52
host892 600 IN AAAA 2607:f8b0:4000:817::2004
host893 600 IN A 184.108.40.206
host893 600 IN AAAA 2607:f8b0:4000:817::2004
host895 600 IN A 220.127.116.11
host895 600 IN AAAA 2607:f8b0:4000:817::2004
host896 600 IN A 18.104.22.168
host896 600 IN AAAA 2607:f8b0:4000:817::2004
host897 600 IN A 22.214.171.124
host897 600 IN AAAA 2607:f8b0:4000:817::2004
SOA and TTL records are ignored.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.