Public | Automated Build

Last pushed: 6 months ago
Short Description
Register and unregister server with DNS providers
Full Description

dns-register

Register and unregister server with DNS providers

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Register and unregister server with CloudFlare

Installation

git clone https://github.com/jamrizzi/dns-register
cd dns-register
export GOPATH=$(pwd)
make dns-register
sudo mv ./dns-register /bin/dns-register

Dependencies

Usage

Command Line Tool

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
    

Docker

  • 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
    

Support

Submit an issue

Buy Me Coffee

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!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

Jam Risser © 2017

Credits

Changelog

0.0.1 (2017-06-03)

  • Initial release
Docker Pull Command
Owner
jamrizzi
Source Repository