This SDK implements a subset of the UltraDNS functionality. It does not attempt to implement a client for all available UltraDNS REST API functionality. Adding additional functionality should be relatively straightforward, and any contributions from the UltraDNS community would be greatly appreciated.
Add this line to your application's Gemfile:
gem 'ultradns-sdk'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ultradns-sdk
- Right now only basic records are supported and RD (Resource Distribution) Pools.
require 'ultradns-sdk'
client = Ultradns::Client.new("username", "secret password")
# create a test zone
client.create_primary_zone("myaccount", "somezone.biz")
# create an A record
client.zone("somezone.biz").rrset('A', 'www').create(60, ['192.168.1.1'])
# list the resource record sets (rrsets)
client.zone("somezone.biz").rrsets
# list the A resource record sets
client.zone("somezone.biz").rrsets('A')
- Directional Pools
- Mail Forwarding
- Web Forwarding
- Fork it ( https://github.com/[my-github-username]/ultradns-sdk/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request