From: John Dong Date: Fri, 31 Aug 2007 16:33:52 +0000 (-0400) Subject: Change default WHOIS host to Arin X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/74373452650a5ef7eff91f8c479d23500ace3c0c?hp=-c Change default WHOIS host to Arin --- 74373452650a5ef7eff91f8c479d23500ace3c0c diff --git a/lib/whois/whois.rb b/lib/whois/whois.rb index 7cc6e9d..962a399 100755 --- a/lib/whois/whois.rb +++ b/lib/whois/whois.rb @@ -130,7 +130,7 @@ module Whois if ip_range.include? self.ip and l[1].length > 0 return Object.instance_eval("Server::#{l[1]}.new") end - return Server::Ripe.new + return Server::Arin.new end end @@ -139,7 +139,7 @@ module Whois ipv6_list = YAML::load_file(File.dirname(__FILE__) + '/data/ipv6.yaml') server = server_with_hash(ipv6_list) unless server.kind_of? Server::Server - return Server::Ripe.new + return Server::Arin.new else return server end