Module: DNS::Zonefile::ZonefileGrammar::SrvRecord4

Defined in:
lib/dns/zonefile/parser.rb

Instance Method Summary collapse

Instance Method Details

#record_typeObject



2279
2280
2281
# File 'lib/dns/zonefile/parser.rb', line 2279

def record_type
  "SRV"
end

#to_sObject



2275
2276
2277
# File 'lib/dns/zonefile/parser.rb', line 2275

def to_s
  "#{host} #{ttl} #{klass} SRV #{priority} #{weight} #{port} #{target}"
end