End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Resolv::DNS::Resource::SOA.new
new(mname, rname, serial, refresh, retry_, expire, minimum)
lib/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/resolv.rb, line 1834
def initialize(mname, rname, serial, refresh, retry_, expire, minimum)
@mname = mname
@rname = rname
@serial = serial
@refresh = refresh
@retry = retry_
@expire = expire
@minimum = minimum
end
Creates a new SOA record. See the attr documentation for the details of each argument.