Skip to content

ripley-cloud/cloudflare-dns-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudflare-dns-sync

Super simple NodeJS utility to sync an /etc/hosts file to CloudFlare DNS. Assumes input file uses a single space to separate hostname from IP.

Configuration by .env:

CLOUDFLARE_TOKEN=#generate an API token on cloudflare
ZONE=#copy zone ID from cloudflare admin panel for your site
SEARCH_DOMAIN=#a search domain that will be appended to each hostname in the input file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors