Name: fog-dnsmadeeasy
Owner: fog
Description: Fog DNS Made Easy Module
Created: 2016-07-13 03:10:27.0
Updated: 2017-10-19 22:54:10.0
Pushed: 2017-10-17 20:19:08.0
Homepage: null
Size: 18
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This library currently uses the DNSMadeEasy API v2
and it is fully compatible with the legacy implementation bundled with the fog
gem.
In other words, this is a drop-in replacement. Please note that the dnsmadeeasy
provider
will eventually be removed from the fog
gem in favor of this fog-specific module.
Add this line to your application's Gemfile:
'fog-dnsmadeeasy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fog-dnsmadeeasy
Initialize a Fog::DNS
object using the DNSMadeEasy provider.
= Fog::DNS.new({
ovider: "DNSMadeEasy",
smadeeasy_api_key: "YOUR_API_V2_KEY",
smadeeasy_secret_key: "YOUR_API_V2_SECRET_KEY"
This can then be used like other Fog DNS providers.
= dns.zones.create(
main: "example.com
rd = zone.records.create(
me: "example.com,
lue: "1.2.3.4,
pe: "A"
The following configurations are supported:
= Fog::DNS.new({
st: "api.dnsmadeeasy.com",
rt: 443
heme: 'https'
nnection_options: {} # excon connection options
API V2 authentication
smadeeasy_api_key: "...",
smadeeasy_secret_key: "...",
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)