Rackspace Cloud DNS API Interface

dnspanel.zip

This zip file contains a php web application to give a GUI interface to the Rackspace Cloud DNS API. It requires Linux, PHP, and curl be installed on the server it runs on. Just unzip the files and upload them to a web server, then hit them with your browser to get started.

I have built this DNS interface mostly using these two links:
http://www.collazo.ws/2011/07/08/using-rackspace-dnsaas-with-curl-part-1
http://docs.rackspace.com/api/

Once you log in, the application gives you the chance to designate a subaccount number. This is useful if using the Clients feature of the Cloud Sites service.

Enjoy!

DNS API Record List Screenshot

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
7 Comments Posted in Uncategorized

7 Comments

  1. This is excellent, thanks for publishing this script. Have you run into any limits with this? I’ve tried using this with a couple of different Cloud Sites accounts and it only returns a couple of domains when listing the DNS zones. Is that a Rackspace limit? I’d really like to be able to list all my domains at once and manage them. Thanks!

    • Hello Rusty,
      The script bases each page on a single API call. The Rackspace Cloud API is limited to listing 1000 items per API call, though with Cloud Sites you will only see the domains that have been created under your own account number by default. Any sites created under Client subaccounts will not be listed with your own domains.

      To see the domains created under a Client subaccount, you can return to the page after the login that prefills your account number. At this page, you can change this to the account number of the Client subaccount to modify DNS records of the Client. Their account number is listed in several locations in the Control Panel, though the easiest way to see the account number in my opinion is in the full server side URL in the Features tab of one of their sites.

      It is not possible for my application to list out the domains for all client accounts or to give you a list of client account numbers as the DNS API has no way to return a list of Client subaccounts. You can see a list of Client subaccounts within your control panel or in the root of your FTP.

      Hope this helps!

  2. thanks for putting this together… I don’t understand why Rackspace can’t add a few of these basic features to their interface. Maybe they’re just trying to keep traffic low.

    At some point you may consider implementing the Import/Export APIs, if you’re looking to extend this at all.

  3. This is amazing. Thank you. Wish I’d found this before coding something similar myself.

  4. That’s awesome I’m trying to utilize the API myself but its very time consuming between jobs 😛

    Good Job 😉

  5. I am curious to find out what blog platform
    you’re working with? I’m having some minor security ssues with my latest site and I would like to find something more safeguarded.
    Do yoou have any recommendations?

Leave a Reply

*

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>