dnscrypt使用的简单记要。
简介
DNSCrypt is a protocol that authenticates communications between a DNS client and a DNS resolver. It prevents DNS spoofing. It uses cryptographic signatures to verify that responses originate from the chosen DNS resolver and haven’t been tampered with.
DNSCrypt是一种用来加密与DNS服务器通信的协议,如防止运营商的DNS劫持,广告跟踪植入,保护个人隐私。
实现列表:https://dnscrypt.info/implementations/
dnscrypt-proxy
dnscrypt-proxy 是dnscrypt的一个实现,可以从这里下载各大平台的预编译二进制文件。
下载windows版本压缩包解压后,编辑配置文件dnscrypt-proxy.toml
,或者使用dnscrypt-proxy-config,它是个可以提高解析国内域名速度的分享配置。将dnscrypt-proxy-config
的配置文件拷贝到其目录下,使用管理员权限运行service-install.bat
安装服务,默认监听地址为0.0.0.0:53
。
安装成功后将自动启动服务,可见以下服务正在运行:
最后,将本机的DNS设置为127.0.0.1
,配置完成。
DNSmaqs
todo