Register and unregister server with DNS providers
Please ★ this repo if you found it useful ★ ★ ★
- Register and unregister server with CloudFlare
git clone https://github.com/jamrizzi/dns-register
cd dns-register
export GOPATH=$(pwd)
make dns-register
sudo mv ./dns-register /bin/dns-register
Set Environment Variables
export CLOUDFLARE_API_KEY=your-cloudflare-api-key
export CLOUDFLARE_EMAIL=your-cloudflare-email
export CLOUDFLARE_WEBSITE=your-cloudflare-website
export SUBDOMAIN=servers
-
Register
dns-register register
-
Unregister
dns-register unregister
-
Register
docker run --rm \ -e CLOUDFLARE_API_KEY=your-cloudflare-api-key \ -e CLOUDFLARE_EMAIL=your-cloudflare-email \ -e CLOUDFLARE_WEBSITE=your-cloudflare-website \ -e SUBDOMAIN=servers \ jamrizzi/dns-register:latest register
-
Unregister
docker run --rm \ -e CLOUDFLARE_API_KEY=your-cloudflare-api-key \ -e CLOUDFLARE_EMAIL=your-cloudflare-email \ -e CLOUDFLARE_WEBSITE=your-cloudflare-website \ -e SUBDOMAIN=servers \ jamrizzi/dns-register:latest unregister
Submit an issue
A ridiculous amount of coffee was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Jam Risser © 2017
- Jam Risser - Author
0.0.1 (2017-06-03)
- Initial release