OVH

Examples :

require ‘rubygems’ require ‘ovh’

nic = ‘aa26057-ovh’ password = ‘*******’

Ovh::Session.new(nic, password) do |session|

puts session.zone_entry_list("holinnn.fr").inspect

end

Returns : [#<Ovh::Domain::ZoneEntry:0xb731e11c @subdomain=“www”, @fieldtype=“CNAME”, @target=“holinnn.fr.”>,

#<Ovh::Domain::ZoneEntry:0xb731d320 @subdomain="mail1", @fieldtype="A", @target="127.0.0.1">,

#<Ovh::Domain::ZoneEntry:0xb731d30c @subdomain=“”, @fieldtype=“MX 1”, @target=“mail1.holinnn.fr.”>, #<Ovh::Domain::ZoneEntry:0xb731d2bc @subdomain=“”, @fieldtype=“A”, @target=“91.121.42.226”>, #<Ovh::Domain::ZoneEntry:0xb731cb50 @subdomain=“”, @fieldtype=“NS”, @target=“dns15.ovh.net.”>, #<Ovh::Domain::ZoneEntry:0xb731bf98 @subdomain=“”, @fieldtype=“NS”, @target=“ns15.ovh.net.”>, #<Ovh::Domain::ZoneEntry:0xb731b3e0 @subdomain=“”, @fieldtype=“SPF”, @target=“v=spf1 include:mx.ovh.com ~all”>, #<Ovh::Domain::ZoneEntry:0xb731a878 @subdomain=“toto”, @fieldtype=“CNAME”, @target=“www.holinnn.fr.”>]