Module: DNS::Zonefile::ZonefileGrammar::SrvRecord0

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

Instance Method Summary collapse

Instance Method Details

#hostObject



1988
1989
1990
# File 'lib/dns/zonefile/parser.rb', line 1988

def host
  elements[0]
end

#klassObject



2004
2005
2006
# File 'lib/dns/zonefile/parser.rb', line 2004

def klass
  elements[4]
end

#ms_ageObject



1996
1997
1998
# File 'lib/dns/zonefile/parser.rb', line 1996

def ms_age
  elements[2]
end

#portObject



2028
2029
2030
# File 'lib/dns/zonefile/parser.rb', line 2028

def port
  elements[11]
end

#priorityObject



2012
2013
2014
# File 'lib/dns/zonefile/parser.rb', line 2012

def priority
  elements[7]
end

#space1Object



1992
1993
1994
# File 'lib/dns/zonefile/parser.rb', line 1992

def space1
  elements[1]
end

#space2Object



2008
2009
2010
# File 'lib/dns/zonefile/parser.rb', line 2008

def space2
  elements[6]
end

#space3Object



2016
2017
2018
# File 'lib/dns/zonefile/parser.rb', line 2016

def space3
  elements[8]
end

#space4Object



2024
2025
2026
# File 'lib/dns/zonefile/parser.rb', line 2024

def space4
  elements[10]
end

#space5Object



2032
2033
2034
# File 'lib/dns/zonefile/parser.rb', line 2032

def space5
  elements[12]
end

#targetObject



2036
2037
2038
# File 'lib/dns/zonefile/parser.rb', line 2036

def target
  elements[13]
end

#ttlObject



2000
2001
2002
# File 'lib/dns/zonefile/parser.rb', line 2000

def ttl
  elements[3]
end

#weightObject



2020
2021
2022
# File 'lib/dns/zonefile/parser.rb', line 2020

def weight
  elements[9]
end