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

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

Instance Method Summary collapse

Instance Method Details

#record_typeObject



2196
2197
2198
# File 'lib/dns/zonefile/parser.rb', line 2196

def record_type
  "SRV"
end

#to_sObject



2192
2193
2194
# File 'lib/dns/zonefile/parser.rb', line 2192

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