当我尝试访问网站时,它不再工作,只是告诉我“DNS_PROBE_POSSIBLE”,除非我连接到 VPN(Proton VPN),然后互联网工作正常。
经过一番研究后,我很确定这是一个 DNS 问题,但我不明白如何解决它。
如果我连接到 VPN 并运行,systemd-resolve --status | grep Current
我会得到:
Current Scopes: DNS
Current DNS Server: 10.16.0.1
Current Scopes: none
Current Scopes: none
Current Scopes: none
Run Code Online (Sandbox Code Playgroud)
但如果我没有连接到 VPN,那么当我运行相同的命令时,我会得到:
Current Scopes: DNS
Current DNS Server: ::1
Current Scopes: none
Current Scopes: none
Current Scopes: none
Run Code Online (Sandbox Code Playgroud)
另外,当未连接到 VPN 时,我可以 ping 通 8.8.8.8,但不能 ping 通 google.com。任何有关如何解决此问题以便我无需 VPN 即可访问互联网的建议将不胜感激。
感谢@matigo 让我走上正轨!事实证明,这是 ProtonVPN 及其新官方应用程序的问题。
我的猜测是:在我开始遇到这些问题之前它就崩溃了,然后当尝试重新打开它并连接到它时,它会抛出未知错误。
所以我使用以下方法卸载了该应用程序:
sudo apt-get autoremove protonvpn
Run Code Online (Sandbox Code Playgroud)
但这并没有解决我的问题,因为我仍然启用了终止开关。
因此,解决方案是pvpn-
在运行时删除名称中显示的所有连接:
nmcli connection show --active
Run Code Online (Sandbox Code Playgroud)
并用以下命令删除它们:
nmcli connection delete [connection name]
Run Code Online (Sandbox Code Playgroud)
来源:ProtonVPN 支持
归档时间: |
|
查看次数: |
2483 次 |
最近记录: |