我知道这里还有其他 帖子问这个,但这些建议没有帮助,配置不断变化,我根本无法让自己的更改保持不变。
我在 GUI 的网络管理器配置中有 Google8.8.8.8和8.8.4.4服务器,并且
systemd-resolv --status 返回
Link 2 (enp38s0f1)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
8.8.4.4
DNS Domain: ~.
Run Code Online (Sandbox Code Playgroud)
尽管如此,dig google.com显示
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Oct 05 11:08:26 EDT 2020
;; MSG SIZE rcvd: 83
Run Code Online (Sandbox Code Playgroud)
所以我的默认路由192.168.1.1为DNS. …