whois

Using Apache Common's WhoisClient in Java

北城余情 提交于 2019-12-10 22:16:23
问题 I'm trying to do a WHOIS query with the WhoisClient object, and things aren't working out well. My code is pretty simple: String WHOIS_SERVER = WhoisClient.DEFAULT_HOST; int WHOIS_PORT = 43; String hostName = "www.google.com"; WhoisClient whoisClient = new WhoisClient(); try { whoisClient.connect(WHOIS_SERVER, WHOIS_PORT); String results = whoisClient.query(hostName); return results; } catch(IOException e) { .... } So a few things are wrong. I get the registrar information, but don't get the

How to successfully use RDAP protocol instead of whois

那年仲夏 提交于 2019-12-10 10:25:28
问题 I'm a little confused about the new RDAP protocol and whenever it makes sense to pursue it any further. It looks to me like everyone agreed on it to be the successor of whois, but their databases seem empty. On ubuntu I tried rdapper, nicinfo and even their RESTful API: http://rdap.org/domain/google.com (this results in a "File not Found", but is correct according to here) Am I misunderstanding something? Is RDAP dead, did the service not start yet or am I doing something wrong? Nicinfo

WHOIS fields translated to semantic

我的未来我决定 提交于 2019-12-08 12:32:44
问题 There are a lot of "good" WHOIS interpreters, like python-whois or phpWhois, but each has its own interpretation of the fields and use different JSON fields and JSON structures... I am looking for a "Rosetta Stone" semantic tool... It exists? Any sematic jargon as SchemaOrg or free RDF/JSON-LD/etc. interpretion, mapping fields of the raw whois file into its semantic. Exemples of most frequent semantic usage , and its fieldName-to-Semantic mapping: WHOIS field domain is wikidata/Q32635 or

How to use whois in google app engine

…衆ロ難τιáo~ 提交于 2019-12-06 08:31:07
I know there is pywhois but it can't used in gae, see this question . But i really need this function to verify whether a domain is registered, is there other way to implement whois by pure python? Thanks. You need to find a HTTP Api to get whois like http://www.whoisxmlapi.com/ and with urlfetch you can fetch informations. An another solution is to create this webservice with a micro instance from AWS and install the module pywhois, you need to just create the interface in HTTP. 来源: https://stackoverflow.com/questions/7266588/how-to-use-whois-in-google-app-engine

How can I determine which company an IP address belongs to?

半腔热情 提交于 2019-12-05 22:37:20
问题 I'm trying to programmaticaly determine the company* associated with a given IP address. My first guess was this : string hostname = Dns.GetHostEntry(IPAddress.Parse(ip)).HostName; but this won't work if the reverse DNS isn't set correctly, which seems to happen 90% of the time. However some websites are still able to successfully determine the company associated with a specific IP even if the reverse dns fails. For example, on this site, the ISP Provider field sometimes contains valuable

How to successfully use RDAP protocol instead of whois

橙三吉。 提交于 2019-12-05 19:58:13
I'm a little confused about the new RDAP protocol and whenever it makes sense to pursue it any further. It looks to me like everyone agreed on it to be the successor of whois, but their databases seem empty. On ubuntu I tried rdapper, nicinfo and even their RESTful API: http://rdap.org/domain/google.com (this results in a "File not Found", but is correct according to here ) Am I misunderstanding something? Is RDAP dead, did the service not start yet or am I doing something wrong? Nicinfo returns this: nicinfo -t domain google.com # NicInfo v.1.1.0-alpha # Query yielded no results. [ NOTICE ]

IP to CIDR/IP-Range [closed]

*爱你&永不变心* 提交于 2019-12-05 15:41:10
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Does anyone know of an API / Script which gives me the CIDR for the network of an IP address? Not IP-Range to CIDR! Background: A fraudster registers on my site and use a proxy or a web hoster to hide his IP address or to fake his ip position. Now it makes little sense to just block his IP address. I want to lock the whole network of the hoster for registration. So I need to make a ip whois to get the CIDR of the

BGP ASN Lookup with Python

不打扰是莪最后的温柔 提交于 2019-12-04 13:49:36
问题 Does anyone know of a Python module or a solution for how I could lookup company info (Name preferably) via the ASN (autonomous system number) number? There are lots of IP to ASN tools but that is not what I require. ASN needs to be the input - company name output. This website has the sort of info I need: http://bgp.potaroo.net/cgi-bin/as-report?as=AS5607&view=2.0 Any ideas are appreciated! 回答1: That information is available publicly on the CIDR-Report website. This url has all the info you

The list of all .com and .net whois servers?

安稳与你 提交于 2019-12-04 10:55:29
问题 I'm trying to find the list of all whois servers for COM/NET. Verisign is the authoritative registry for the .com, .net, .name, .cc and .tv domains. Possible solution: To find out the complete list of whois servers is to crawl through at least a million of them (via whois.crsnic.net) using the domain list from the .com zone file and read the official whois from the whois result. That way I could probably build a 90%+ complete list. I'm ready to go that route and post a result here but if

How can I determine which company an IP address belongs to?

↘锁芯ラ 提交于 2019-12-04 05:00:55
I'm trying to programmaticaly determine the company* associated with a given IP address. My first guess was this : string hostname = Dns.GetHostEntry(IPAddress.Parse(ip)).HostName; but this won't work if the reverse DNS isn't set correctly, which seems to happen 90% of the time. However some websites are still able to successfully determine the company associated with a specific IP even if the reverse dns fails. For example, on this site , the ISP Provider field sometimes contains valuable information (ie the name of the company) even if the hostname isn't set. What's the easiest way to