lib/whois/server/adapters/arpa.rb in whois-3.1.1 vs lib/whois/server/adapters/arpa.rb in whois-3.1.2
- old
+ new
@@ -12,10 +12,12 @@
module Adapters
class Arpa < Base
def request(string)
- Server.guess(inaddr_to_ip(string)).query(string)
+ record = Server.guess(inaddr_to_ip(string)).lookup(string)
+ part = record.parts.first
+ buffer_append part.body, part.host
end
private