https://github.com/fog/fog-dynect
Module for the 'fog' gem to support Dyn Managed DNS http://dyn.com/
https://github.com/fog/fog-dynect
Last synced: about 1 year ago
JSON representation
Module for the 'fog' gem to support Dyn Managed DNS http://dyn.com/
- Host: GitHub
- URL: https://github.com/fog/fog-dynect
- Owner: fog
- License: mit
- Created: 2015-08-05T15:54:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T02:02:55.000Z (over 3 years ago)
- Last Synced: 2025-06-07T17:10:20.635Z (about 1 year ago)
- Language: Ruby
- Size: 208 KB
- Stars: 3
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fog::Dynect
[](https://github.com/fog/fog-dynect/actions/workflows/ruby.yml)
## Installation
Add this line to your application's Gemfile:
```ruby
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.
```ruby
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](http://fog.io/dns/) providers.
```ruby
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