From: Roger Pack Date: 2009-07-23T23:21:44+09:00 Subject: [ruby-core:24530] [Feature #1811] Default BasicSocket.do_not_reverse_lookup to true Feature #1811: Default BasicSocket.do_not_reverse_lookup to true http://redmine.ruby-lang.org/issues/show/1811 Author: Roger Pack Status: Open, Priority: Normal Currently ruby socket code defaults to always doing reverse DNS lookup [ex: once per incoming UDP packet, once per TCP connection]. This causes "surprising" pauses if lookup fails, because the DNS waits 15s to timeout, before passing the packet back to the program, the pauses are surprising, not appropriate for production, cause bugs[1] and cause an overly chatty network. Proposal is: default do_not_reverse_lookup to true and/or change name to do_reverse_lookup= to avoid double negative. See discussions: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/24247 http://www.ruby-forum.com/topic/190013 Thanks. =r [1] http://www.ruby-forum.com/topic/191022 ---------------------------------------- http://redmine.ruby-lang.org