小编Sam*_*ore的帖子

尽管在 16.04 上连接了 wifi,但 Internet 仍然出现故障

我看到了类似的问题,但与其他问题中所述不同,我的 WiFi 没有断开连接。只有与 Internet 的连接不断下降。

我在不同的位置(不同的 WiFi)尝试过,问题是一样的。任何时候我刚从互联网上断开(WiFi 显示已连接到网络)。我重新启动后它工作正常。断开并再次连接到 WiFi 没有帮助。

我有其他设备(电话和 mac)没有这样的问题,所以我确定 WiFi 路由器没有任何问题。

编辑:按照这里的要求是命令输出:

$ lspci -knn | grep Net -A2
02:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b4] (rev 93)
    Subsystem: Intel Corporation Dual Band Wireless AC 3160 [8086:8270]
    Kernel driver in use: iwlwifi
Run Code Online (Sandbox Code Playgroud)

wireless internet 16.04

8
推荐指数
1
解决办法
9619
查看次数

在最近升级后的 20.04 上,我无法清除 DNS 缓存

我最近更改了一个网站的 NS 记录,当我使用https://toolbox.googleapps.com/apps/dig/#NS/等在线工具挖掘该记录时,我可以看到它指向正确的位置。即使我的手机在同一个 wifi 网络上,它也会转到正确的网站,但在我的 Ubuntu 20.04 上,它仍然会转到以前的网站,而不会正确指向新网站。

过去我使用以下命令来清除缓存,但这不再起作用:

sudo /etc/init.d/nscd restart
Run Code Online (Sandbox Code Playgroud)

我发现了一些类似的帖子,并尝试了许多答案或评论中的解决方案,但到目前为止没有任何效果对我有用。

这是我大约 3~4 小时前更改的问题域的响应:

nslookup the-domain-name.org
Server:     127.0.0.53
Address:    127.0.0.53#53

Non-authoritative answer:
Name:   the-domain-name.org
Address: xx.xx.xx.xx (INCORRECT_IP, points to the DNS provider)
Name:   the-domain-name.org
Address: xx.xx.xx.xx (I am not sure if this IP is correct or not)
Run Code Online (Sandbox Code Playgroud)

当我查看/etc/resolv.conf文件内部时,它具有以下内容:

  GNU nano 4.8                    /etc/resolv.conf                              
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients …
Run Code Online (Sandbox Code Playgroud)

dns resolv.conf 20.04

5
推荐指数
1
解决办法
2850
查看次数

标签 统计

16.04 ×1

20.04 ×1

dns ×1

internet ×1

resolv.conf ×1

wireless ×1