Safe Haskell | None |
---|
Documentation
data WhoisServer Source
serverFor :: String -> Maybe WhoisServerSource
Given an IP address or domain name, attempt to figure out which whois server to use. If we're given a domain name, this is (except in some special cases) usually <tld>.whois-servers.net. If we're given an IP address, we default to a transient server (ARIN), which can give us referral servers to try.
serverFor "192.0.2.123" -- WhoisServer "whois.arin.net" "n + "