diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2013-05-21 14:32:37 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2013-05-21 14:32:37 +0100 |
commit | cdf43e9eb5a2c625bc9631d84b24965512b3559f (patch) | |
tree | ddd7db7974df2eecd3128e2c0ab73be8b57e945c | |
parent | 8bb164f71dc2b526e838b6ffb13c73ca641d5bbe (diff) |
Turning off global reverse dns lookups for sockets.
-rw-r--r-- | lib/mauve/server.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mauve/server.rb b/lib/mauve/server.rb index bb514ce..8f8cec4 100644 --- a/lib/mauve/server.rb +++ b/lib/mauve/server.rb @@ -56,6 +56,11 @@ module Mauve @bank_holidays = nil # + # Turn off unwanted reverse DNS lookups across the board. + # + BasicSocket.do_not_reverse_lookup = true + + # # Set up a blank config. # Configuration.current = Configuration.new if Mauve::Configuration.current.nil? |