Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
IPAddr#ip6_int
() -> ::String
ip6_int
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/ipaddr.rb, line 409
def ip6_int
if !ipv6?
raise InvalidAddressError, "not an IPv6 address: #{@addr}"
end
return _reverse + ".ip6.int"
end
Returns a string for DNS reverse lookup compatible with RFC1886.