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:

rsdns-a.sh -n www.linickx.com -i 123.123.123.123

… can be replaced by:

rsdns a -n www.linickx.com -i 123.123.123.123

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 ascii.io.

Start with the ReadMe

I haven’t written much on here about RSDNS as I’m trying to keep everything in the github ecosystem.

Currently there is no web-page-documentation, forums or wiki’s. RSDNS usage is all documented in the README.md which should be the fist place to look if you want to get started. If you have a problem post an issue, if you can fix a problem raise a pull request.

All community contributions are greatly appreciated, happy RackSpace DNS everyone!

Building a free Dynamic DNS client with rackspace Cloud


As a cloud server customer you get access to rackspace’s free DNS service.

When I fist saw this product I had an instance light-bulb moment, I could stop paying for a dynamic DNS service and build my own private one. As a broadband (DHCP) user I have a very basic requirement of needing to regularly update an A record so that I can find my pc :)

To bring my idea into fruition I began researching; I need a cli tool which I could run from cron on my linux box (to send the DNS update requests to rackspace). In my research I found rscurl, a cli tool to control cloud servers, as rackspace have a standard API for all their products I have been able to use rscurl to develop rsdns.

rsdns is a series of cli tools to adding/deleting/changing rackspace DNS records, as part of the tool development I have created a script called rsdns-dc.sh to run on my machine, below is a short how to:

How to get free dynamic dns from rackspace.

Continue reading

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.