Parent

Class/Module Index [+]

Quicksearch

Fog::DNS::Dreamhost::Zone

Dreamhost API has no concept of 'Zone', but we can emulate it.

wiki.dreamhost.com/API/Dns_commands

Public Instance Methods

destroy() click to toggle source

There's no destroy API call

# File lib/fog/dreamhost/models/dns/zone.rb, line 22
def destroy
  raise NotImplementedError.new
end
nameservers() click to toggle source

Return the Dreamhost nameserver list

# File lib/fog/dreamhost/models/dns/zone.rb, line 40
def nameservers
  [
   "ns1.dreamhost.com",
   "ns2.dreamhost.com",
   "ns3.dreamhost.com",
  ]
end
records() click to toggle source

Return a list of records for this zone

Since Dreamhost does not support zones, this is emulated. Iterates over all the records and discards the ones where Record.zone != domain (the current zone domain)

# File lib/fog/dreamhost/models/dns/zone.rb, line 33
def records
  service.records.all :zone => domain
end
save() click to toggle source

There's no zone create API call

# File lib/fog/dreamhost/models/dns/zone.rb, line 51
def save
  raise NotImplementedError.new
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.