如何修复 dsl pppoe 连接的 dns 问题?Ubuntu 18.04

如何修复 dsl pppoe 连接的 dns 问题?Ubuntu 18.04

我已经像这样配置了 /etc/resolvconf/resolv.conf.d/head :

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 1.1.1.1 
nameserver 1.0.0.1
nameserver 8.8.8.8 
nameserver 8.8.4.4

这是我的 /ets/resolv.conf 文件:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 1.1.1.1 
nameserver 1.0.0.1
nameserver 8.8.8.8 
nameserver 8.8.4.4
nameserver 127.0.0.53

所以一切都正常。问题是我每隔 1 或 2 小时就会失去互联网连接并收到 dns_probe_finished 错误。大多数情况下可以通过关闭和打开连接来解决。有时我需要重新启动计算机才能再次获得互联网连接。那么有人能帮我吗?

相关内容