dnspython会非常好地进行我的DNS查找,但它完全忽略了内容/etc/hosts.
/etc/hosts
是否有一个python库调用,它会做正确的事情?即先检查etc/hosts,否则只回退到DNS查找?
etc/hosts
python dns
dns ×1
python ×1