我一直在努力通过以下设置在我的系统上全面使用 DNSSEC:
dnscrypt-proxy
在 127.0.0.1 上安装、启动并运行 require_dnssec = true
DNSSEC=yes
和DNS=127.0.0.1
nameserver 127.0.0.1
在/etc/resolv.conf
/run/systemd/resolve/resolv.conf
在 127.0.0.1 下面列出 8.8.8.8 和 8.8.8.4。
resolvectl status
显示
DNSSEC setting: yes
DNSSEC supported: yes
Current DNS Server: 127.0.0.1
DNS Servers: 127.0.0.1
Run Code Online (Sandbox Code Playgroud)
在全局部分,但
DNSSEC setting: yes
DNSSEC supported: yes
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
8.8.8.4
Run Code Online (Sandbox Code Playgroud)
在我的界面部分(为什么?)。
tcpdump
使用 Web 浏览器、dig 或其他正常使用时,在 udp:53 上根本没有显示任何活动。我认为这意味着我的本地 dnscrypt-proxy 正在处理我系统上的所有 DNS …
我的设置变得越来越复杂,通常我倾向于将事物分成几部分,然后自己将它们组装在一起。但这次我似乎需要更多帮助才能让整个齿轮协同工作。这就是为什么用户 @Rui F Ribeiro 要求我将这个问题作为一个单独的问题提出。
我想实现什么目标?基本上我在互联网上发现的称为 DNS 防火墙。
我需要一个配置有以下功能的 BIND 服务器:
我怎样才能实现如此复杂的配置?
这是我的配置文件,我想这里有些东西没有按需要工作,所以请帮助我进行配置。
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, …
Run Code Online (Sandbox Code Playgroud)