Skip to content

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

class method

BasicSocket.do_not_reverse_lookup

BasicSocket.do_not_reverse_lookup => true or false

Gets the global do_not_reverse_lookup flag.

Example
BasicSocket.do_not_reverse_lookup  #=> false