1

I would like to take a url and find it's IP Address using Javascript code.

er_jack
  • 114
  • 9
  • JS does not have such capability. You have to make a request to some external service/server-side script, which will perform nslookup request. – Cheery Feb 25 '12 at 19:00
  • http://nodejs.org/docs/latest/api/dns.html#dns.resolve – pimvdb Feb 25 '12 at 19:02

1 Answers1

1

I believe this is only possible with an external service. Some kind of DNS API. I Googled 'DNS Javascript', try that. This may help you http://www.fileformat.info/tool/rest/dns-json.htm

Jim Blackler
  • 22,946
  • 12
  • 85
  • 101