Skip to content

obpits/ultradns4r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

ultradns4r is a Ruby library and command line client for the Neustar UltraDNS SOAP API.

  1. Install Ruby

  2. Install RubyGems

  3. Install Savon

  4. Download ultradns4r.rb

require 'ultradns4r'
client = UltraDns::Client.new('username', 'password')
response = client.soap_call('get_server_status')
pp response
  1. Create a file called ultradns4r.secret containing your UltraDNS username and password (i.e. on one line separated by whitespace). Note that this file is assumed to be in the current directory by default.

  2. See examples below:

ultradns4r.rb [options] [rr-data][, ...]
  • Multiple sets of rr-data can be specified by separating them with commas.

  • Records can be deleted by not specifying rr-data.

  • All domain names must be fully qualified and end with a period (this is an UltraDNS requirement).

ultradns4r.rb -n test.example.org. 1.1.1.1
ultradns4r.rb -n test.example.org. 1.1.1.1,2.2.2.2,3.3.3.3
ultradns4r.rb -n test.example.org. -t CNAME test.example.org.
ultradns4r.rb -n srv.example.org. -t SRV 0 10 20 target.example.org.

See the –help command line option:

ultradns4r.rb --help

Use debug logging:

ultradns4r.rb -v debug

About

Ruby library and command line client for the Neustar UltraDNS SOAP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages