Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/lib/resolv.rb, line 2237
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.