小编dst*_*str的帖子

为特定域使用特定的 dns 服务器

我在工作时使用 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)

networking windows dns windows-10

9
推荐指数
3
解决办法
1万
查看次数

标签 统计

dns ×1

networking ×1

windows ×1

windows-10 ×1