我通过应用程序“软件和更新”在我的Ubuntu 21.04上安装了一些更新,我不知道是什么样的软件被更新了。在我重新启动系统之前,互联网已经正常工作了。计算机没有任何无线网络接入,我的其他设备也有。当我做ping google.com的时候,我得到了ping: google.com: Temporary failure in name resolution
我已经在本地网络中的android上创建了一个代理服务器,并通过它在我的Linux上进行连接,并且运行正常。我不确定这个事实是否重要,试图告诉我注意到的细节。
我搜索了StackOverflow中的此类问题,我尝试将名称服务器8.8.8.8添加到/etc/rupv.conf,尝试根据这个答案编辑/etc/network/接口:https://askubuntu.com/a/552311,之后在设置中没有检测到wi网络(最初,我没有这样的文件),所以我只删除其中的所有内容。
systemd-resolve --status返回:
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
Link 2 (eth0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (wlan0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 4 (pvpnksintrf0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.
Link 5 (ipv6leakintrf0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.我如何找出问题的原因并加以解决?
发布于 2021-07-06 10:34:36
似乎问题出在ProtonVPN上。我不知道到底是什么解决了这个问题,但我所做的是:
sudo ifconfig pvpnksintrf0 down
sudo ifconfig ipv6leakintrf0 down
sudo apt-get remove protonvpn
rm -rf ~/.cache/protonvpn
rm -rf ~/.config/protonvpn
systemctl restart systemd-resolved.servicehttps://unix.stackexchange.com/questions/657185
复制相似问题