Automatically register a list of domain names, add them as zones on Cloudflare, then add DNS records.


$ ./NameCannon --namesiloSecret <namesilo api key> --cloudflareSecret <cloudflare token> --dnsRecordsFile <path/to/dnsFile.txt> --domainsFile <path/to/listOfDomains.txt>

api keys

  • Create Namesilo account, fund it in Account Funds Manager, create an API key.
  • Create a Cloudflare account, create an API Token, give it permissions of edit on Zone*, read account settings, read user details.

dns file format

type subdomain answer ttl (priority)?

A @ 3600
MX @ 3600 15
CNAME cats 3600


View Github