Skip to content
forked from fog/fog-dynect

Module for the 'fog' gem to support Dyn Managed DNS https://dyn.com/

License

Notifications You must be signed in to change notification settings

blkperl/fog-dynect

 
 

Repository files navigation

Fog::Dynect

Build Status

Installation

Add this line to your application's Gemfile:

gem 'fog-dynect'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fog-dynect

Usage

Initialize a Fog::DNS object using the Dynect provider.

dns = Fog::DNS.new({
  :provider => 'Dynect',
  :dynect_customer => 'dynect_customer',
  :dynect_username => 'dynect_username',
  :dynect_password => 'dynect_password'
})

This can then be used like other Fog DNS providers.

zone = dns.zones.create(
  :domain => 'example.com',
  :email  => '[email protected]'
)
record = zone.records.create(
  :value   => '1.2.3.4',
  :name => 'example.com',
  :type => 'A'
)

Contributing

  1. Fork it ( https://github.com/fog/fog-dynect/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Module for the 'fog' gem to support Dyn Managed DNS https://dyn.com/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.7%
  • Roff 0.3%