Class Resolv::DNS::Resource::SOA
In: lib/resolv.rb
Parent: Resource

Start Of Authority resource.

Methods

new  

Attributes

expire  [R]  Time in seconds that a secondary name server is to use the data before refreshing from the primary name server.
minimum  [R]  The minimum number of seconds to be used for TTL values in RRs.
mname  [R]  Name of the host where the master zone file for this zone resides.
refresh  [R]  How often, in seconds, a secondary name server is to check for updates from the primary name server.
retry  [R]  How often, in seconds, a secondary name server is to retry after a failure to check for a refresh.
rname  [R]  The person responsible for this domain name.
serial  [R]  The version number of the zone file.

Public Class methods

Creates a new SOA record. See the attr documentation for the details of each argument.

[Source]

      # File lib/resolv.rb, line 1640
1640:         def initialize(mname, rname, serial, refresh, retry_, expire, minimum)
1641:           @mname = mname
1642:           @rname = rname
1643:           @serial = serial
1644:           @refresh = refresh
1645:           @retry = retry_
1646:           @expire = expire
1647:           @minimum = minimum
1648:         end

[Validate]