Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

IPAddr#reverse

reverse

Returns a string for DNS reverse lookup. It returns a string in RFC3172 form for an IPv6 address.

See also #_reverse #set #private? #succ also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1