我的/etc/resolv.conf看起来像这样:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
# OpenDNS Fallback (configured by Linux Mint in /etc/resolvconf/resolv.conf.d/tail).
nameserver 208.67.222.222
nameserver 208.67.220.220
Run Code Online (Sandbox Code Playgroud)
当我使用nslookup时,我似乎使用了127.0.1.1:
moose@pc08 ~ $ nslookup www.google.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: www.google.com
Address: 173.194.44.17
Name: www.google.com
Address: 173.194.44.16
Name: www.google.com
Address: 173.194.44.19
Name: www.google.com
Address: 173.194.44.18
Name: www.google.com
Address: 173.194.44.20
Run Code Online (Sandbox Code Playgroud)
但是当我右键单击网络管理器并单击“连接信息”时,我得到:

whois 217.0.43.129 表明这属于我的 ISP Deutsche …
我想为 OpenDNS 配置 IP 更新程序。
我不是在问如何在我的/etc/resolv.conf.
我最近对 DNS 感兴趣,以便更清洁、更快、更安全地上网。在我的国家,许多网站都被屏蔽了,我被告知更改 DNS 可能允许我像以前一样使用它们。我也不喜欢与其他人共享我的元数据,而且某些 DNS(例如 OpenDNS 提供的 DNS)似乎为用户提供了更多隐私。
更改 DNS 是否会带来更安全的 Web 体验?
如何在 Ubuntu 18.04 上更改 DNS,最重要的是,我应该切换到哪个 DNS?