首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu网络问题

Ubuntu网络问题
EN

Unix & Linux用户
提问于 2021-07-06 09:41:46
回答 1查看 132关注 0票数 0

我通过应用程序“软件和更新”在我的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返回:

代码语言:javascript
复制
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: ~.

我如何找出问题的原因并加以解决?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-07-06 10:34:36

似乎问题出在ProtonVPN上。我不知道到底是什么解决了这个问题,但我所做的是:

代码语言:javascript
复制
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.service
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/657185

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档