开发者

Python: Getting Local Nameserver information from Windows 95/XP/7

开发者 https://www.devze.com 2023-04-05 19:18 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号