A small cli-client for the InternetX AutoDNS API to update a record with an IP address.
- starting VMs/servers and automatically provision them with DNS records
- creating DNS records for domains on the fly
- dyn (dynamic) DNS client
You need to start this with:
$ export AUTODNS_USER=your_login
$ export AUTODNS_PASSWORD=your_password
$ export AUTODNS_CONTEXT=4
$ export MY_ZONE=example.org
Bonus points: Create an .autodns-cli.rc
with the above.
Then run with:
$ ./autodns-cli update foo.example.org 127.0.0.1
$ ./autodns-cli delete foo
_Assumption: foo.example.org
if your zone is example.org
.
- bash
- curl
- jq
- log (OSX)
- bats
- assert.sh
- shellcheck
Use charles for debugging and run with:
$ WITH_CHARLES=1 ./autodns-cli ...