uses proper whois server names
This commit is contained in:
parent
50cf589d75
commit
8208d88e21
|
@ -1,11 +1,11 @@
|
|||
module Peertracker
|
||||
class WhoisRequest
|
||||
def get_as_info(ip_address)
|
||||
`whois -m #{ip_address}`
|
||||
`whois -h whois.radb.net #{ip_address}`
|
||||
end
|
||||
|
||||
def get_country_info(ip_address)
|
||||
`whois -l #{ip_address}`
|
||||
`whois -h whois.lacnic.net #{ip_address}`
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user