Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • resolv.rb

Methods

Resolv::DNS::Resource::SOA

Start Of Authority resource.

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

new(mname, rname, serial, refresh, retry_, expire, minimum) click to toggle source

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

 
               # File resolv.rb, line 1718
def initialize(mname, rname, serial, refresh, retry_, expire, minimum)
  @mname = mname
  @rname = rname
  @serial = serial
  @refresh = refresh
  @retry = retry_
  @expire = expire
  @minimum = minimum
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.