Add this line to your application’s Gemfile:
gem 'fog-dynect'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fog-dynect
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'
)
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.