Project

General

Profile

Download (447 Bytes) Statistics
| Branch: | Tag: | Revision:
module Proxy::DNS
class Error < RuntimeError; end
class Collision < RuntimeError; end
class Record
include Proxy::Log

def initialize options = {}
@server = options[:server] || "localhost"
@fqdn = options[:fqdn]
@ttl = options[:ttl] || "86400"
@type = options[:type] || "A"
@value = options[:value]

raise("Must define FQDN or Value") if @fqdn.nil? and @value.nil?
end

end
end
(2-2/9)