hrdns

Small tool created for management of hetzner DNS service from command-line
Download

hrdns Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Jarek S.
  • Publisher web site:
  • https://github.com/devop/

hrdns Tags


hrdns Description

hrdns is actually a shortcut name from h(etzner)r(obot)dns.Developer commentsI chosen shorter version because of possible license/trademark issues. Hetzner.de provides great hosting services in western europe. As their client, I wanted to automate some parts of our(me & my current company) infrastracture. This tool covers dns-management in Hetzner's Robot panel.InstallationYou need access to pstats module from python's standard library. On ubuntu it can be installed by following command: sudo apt-get installl python-profilerThen you can install hrdns by typing: easy_install hrdns Examples of commandline usageList of maintaned domains: hrobot_dns.py list -u< user > -p< password >Add new domain: hrobot_dns.py add -u< user > -p< password > -d domain.com -i 8.8.8.8Delete domain: hrobot_dns.py delete -u< user > -p< password > -d domain.comDump dns records: hrobot_dns.py show -u< user > -p< password > -d domain.comUpdating dns recods (from file): hrobot_dns.py update -u< user > -p< password > -d domain.com -f dnsrecords.txtStoring username and password in safe wayThere 3 ways to pass username/password to script: 1. Passing it through params which is unsafe.2. Environment variables HRDNS_USER, HRDNS_PASSWORD like this:export HRDNS_USER=< user > export HRDNS_PASSWORD=< password >hrobot_dns.py list3. By creating file ~/.hrdnsrc with source like this:user=< user >password=< password > Product's homepage


hrdns Related Software