https://github.com/computestacks/autodns-ruby
AutoDNS Rubygem
https://github.com/computestacks/autodns-ruby
Last synced: 8 months ago
JSON representation
AutoDNS Rubygem
- Host: GitHub
- URL: https://github.com/computestacks/autodns-ruby
- Owner: ComputeStacks
- Created: 2020-04-14T21:01:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T22:26:44.000Z (over 3 years ago)
- Last Synced: 2025-08-14T18:55:01.481Z (10 months ago)
- Language: Ruby
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoDNS Module for ComputeStacks
## Building
```bash
gem build autodns.gemspec
gem push --key github --host https://rubygems.pkg.github.com/ComputeStacks autodns-*.gem
```
#### Examples:
```ruby
##
# Load a Zone
auth = AutoDNS::Auth.new(0, 'USER', 'PASS', 'CONTEXT')
client = AutoDNS::Client.new(nil, auth)
zone = AutoDNS::Dns::Zone.find(client, 'kwtester.net')
##
# Create a Zone
zone = AutoDNS::Dns::Zone.new(client, nil)
zone.name = 'cmptstks.com'
zone.soa_email = 'dns@computestacks.com'
zone.default_ip = '62.116.130.8'
zone
```