dev BSD License    
  not rated
Small tool created for management of hetzner DNS service from command-line




hrdns is actually a shortcut name from h(etzner)r(obot)dns.

Developer comments

I chosen shorter version because of possible license/trademark issues. 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.


You need access to pstats module from python's standard library. On ubuntu it  can be installed by following command:

    sudo apt-get installl python-profiler

Then you can install hrdns by typing:

    easy_install hrdns
Examples of commandline usage

List of maintaned domains: list -u< user > -p< password >

Add new domain: add -u< user > -p< password > -d -i

Delete domain: delete -u< user > -p< password > -d

Dump dns records: show -u< user > -p< password > -d

Updating dns recods (from file): update -u< user > -p< password > -d -f dnsrecords.txt

Storing username and password in safe way

There 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 > list

3. By creating file ~/.hrdnsrc with source like this:

user=< user >
password=< password >
Last updated on March 21st, 2012

0 User reviews so far.