我在工作时使用 unblock-us.com dns 服务器来访问 pandora.com。我们公司正在使用大量 *.mycompany.internal 域来存放公司内容。当然 unblock-us 无法解决它们,我真的厌倦了将它们中的每一个都添加到主机文件中。有没有办法将公司 dns 服务器用于 mycompany.internal 域和其他 dns 服务器?这是我的个人电脑,无法更改公司 dns 设置的任何内容。
解决方案:
感谢 Jens Ehrich,我最终使用了用于 MaraDNS 的递归 dns 服务器 Deadwood。这是我的 Deadwood 配置文件 (dwood3rc.txt):
# Please note that each upstream_servers entry takes up space in Deadwood's
# cache and that maximum_cache_elements will need to be increased to store
# a large number of these entries.
upstream_servers = {}
upstream_servers["."] = "8.8.8.8, 8.8.4.4" # Google DNS as example
# To have Deadwood perform DNS queries for …Run Code Online (Sandbox Code Playgroud)