Where is the Windows version of the Linux file resolv.conf?
I'm currently trying to do a reverse DNS lookup on all ips in the local subnet. My code takes in resolv.conf on Linux to do the reverse lookup but I need to make the script cross platform compatible so I'm trying to find the Windows equivalent.
I've checked the etc directory that hosts resides in and the information on Google seems to say that Windows doesn't exactly use a file to point to the nameserver? If so, how do I get the IP of the local nameserver (eg. 192.168.0.1 or 192.168.2.2)?