I would like to take a url and find it's IP Address using Javascript code.
Asked
Active
Viewed 1,270 times
1
-
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 Answers
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