c# - Get Domain from IP -



playing around web crawling, , have question regarding getting host names, coming this question regarding getting host names.
i'll use example ask question,
e.g. lets use google.com ip: 74.125.237.19 using method i.e.

dns.gethostentry(ipaddress.parse("74.125.237.19")).hostname 

i get: syd01s04-in-f19.1e100.net
question how google.com instead?

thanks

go command prompt , type nslookup 74.125.237.19 :

c:\users\adamp>nslookup 74.125.237.19 server:  unknown address:  192.168.200.180  name:    syd01s04-in-f19.1e100.net address:  74.125.237.19 

the reverse dns ip syd01s04-in-f19.1e100.net. there no way google.com unless google changes reverse dns ip.

read more info on 1e100.net domain: what 1e100.net


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -