Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
IPAddr#ip6_arpa
ip6_arpa
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/ipaddr.rb, line 365
def ip6_arpa
if !ipv6?
raise InvalidAddressError, "not an IPv6 address: #{@addr}"
end
return _reverse + ".ip6.arpa"
end
Returns a string for DNS reverse lookup compatible with RFC3172.