aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/server.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2013-05-21 14:33:57 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2013-05-21 14:33:57 +0100
commit2bca6c6407fa6651bb9958bd64e1649af6720bad (patch)
tree8a3af55196e9e30972938d07fccfc5fdf1697344 /lib/mauve/server.rb
parent784d42ae0f1900ff6716185005ac320b85633921 (diff)
parentcdf43e9eb5a2c625bc9631d84b24965512b3559f (diff)
merge
Diffstat (limited to 'lib/mauve/server.rb')
-rw-r--r--lib/mauve/server.rb5
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?