rsdns – less typing

Robert (Jamie) Munro submitted a pull request yesterday which improves the way we can use the RSDNS tools.

RSDNS now has now a master rsdns script/command which can be used to call the other sub-scripts. For example commands like: -n -i

… can be replaced by:

rsdns a -n -i

sweet touch eh?

[nick@nickel ~]$ rsdns

Use the -h switch for details on how to use each sub command 
e.g. rsdns a -h 

Available commands: 

 aaaa      Manage AAAA records, host records for IPv6 
 a         Manage A records, host records for IPv4 
 cn        Manage canonical name (CNAME) records 
 dc        Dynamic DNS Client for rackspace cloud DNS 
 did       Delete records by ID 
 domain    Create & delete domains hosted by rackspace cloud DNS 
 list      List domains and records hosted by rackspace 
 mx        Manage mail exchange (MX) records 
 ns        Manage domain name server (NS) records 
 srv       Manage service (SRV) records 
 txt       Manage text (TXT) records 

[nick@nickel ~]$

I’ve posted a run thru on

rackspace Cloud DNS API Tools

I’ve been looking at moving my nameserver to rackspace cloud dns to take advantage of the records support which my current provider lacks; the rs cloud portal supports a basic interface to their DNS API but lacks access to the records I’m interested in (DKIM/SPF/SRV/etc).

There seems to be a lack of utilities on the internet to take advantage of this API, maybe it’s because DNS just isn’t cool? … Anyway I’ve decided to take a crack at this myself. Introducing RSDNS!

Hosted on github, rsdns is going to be a set of shell scripts of making DNS changes, now my shell scripting can be a bit n00b at times so there’s only two tools today but I’m hoping to write enough to migrate my domains to the cloud dns.

Feel free to submit recommendations, code preferably either here or on github.