Project

fog-dynect

0.8
Low commit activity in last 3 years
No release in over a year
This library can be used as a module for `fog` or as standalone provider to use Dynect DNS in applications.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 0.3

Runtime

 Project Readme

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  => 'admin@example.com'
)
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