Python: Getting Local Nameserver information from Windows 95/XP/7
I'm trying to get local nameserver information for a reverse DNS lookup. In Linux I can parse the resolv.conf file. How do I get the same information for Windows programmaticall开发者_运维问答y using Python? What I'm looking for is an IP similar to 192.168.0.1 or 192.168.2.2.
精彩评论