https://github.com/makevoid/ovh-dns
Manage DNS programmatically using ruby. OVH provider [mechanize]
https://github.com/makevoid/ovh-dns
Last synced: 6 months ago
JSON representation
Manage DNS programmatically using ruby. OVH provider [mechanize]
- Host: GitHub
- URL: https://github.com/makevoid/ovh-dns
- Owner: makevoid
- Created: 2012-01-23T23:56:56.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-01-27T21:27:09.000Z (almost 14 years ago)
- Last Synced: 2025-05-14T01:59:03.978Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ovh DNS
### Manage DNS programmatically using ruby - OVH
### Usage:
see examples folder or:
dns = Ovh::DNS.new
domain = dns.domains.first
p domain.records #=> []
domain.add_record name: "makevoid.com", type: "A", dest: "176.31.248.215"
domain.add_record name: "mail.makevoid.com", type: "MX", dest: "176.31.248.215", priority: 1
domain.delete "mail.makevoid.com"
p domain.records #=> [{ name: "makevoid.com", type: "A", dest: "176.31.248.215" }]
dns.each_domain do |domain|
p domain.records
end