I'm working on a project and stuck in the DNS Leak Tool, where I would have to perform the same task as http://dnsleak.com/ these website doing, is there any logic, where I can get fetch DNS server IP?
Really appreciate if you guys can help!
Regards, Finn
I think you just have to do something like this :
const dns = require('dns');
dns.getServers();
See documentation for more information.
Hope it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.