0

I am looking for a JS which gets users DNS Server IP.

Just like: dnsleak.com, ipleak.net

However, I know these are online services which can be used but i want something which can be run on my server and who ever visits that, I get his/her DNS Server IP.

Thank you.

Rahul
  • 1
  • No. you will never detect client's Ip address using javascript. You can use any third party api they will give ip address in response but it's not a feasible solution. – Bhavin Jul 07 '18 at 16:20
  • Search & read: https://stackoverflow.com/questions/102605/can-i-perform-a-dns-lookup-hostname-to-ip-address-using-client-side-javascript – dotnetdev4president Jul 07 '18 at 16:21

0 Answers0