Kubuntu升级至22.04.01 LTS后systemd-resolved卡顿,需手动重启恢复DNS功能的排查求助
Kubuntu升级至22.04.01 LTS后systemd-resolved卡顿,需手动重启恢复DNS功能的排查求助
嗨,我刚把Kubuntu从20.04.03 LTS升级到22.04.01 LTS,遇到个闹心的DNS问题——每次开机后DNS都没法正常工作,必须手动打开Konsole操作才能恢复,想请教下大家该怎么排查根源。
升级完成后,我尝试用resolvectl status检查DNS状态,结果直接报错:
Failed to get global data: Failed to activate service 'org.freedesktop.resolve1': timed out (service_start_timeout=25000ms)
只有手动执行sudo systemctl restart systemd-resolved重启服务后,DNS才能恢复正常。此时再运行resolvectl status,就能看到正常的状态输出:
Global Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported resolv.conf mode: stub Link 2 (enp11s0) Current Scopes: DNS Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Current DNS Server: 10.0.2.1 DNS Servers: 10.0.2.1 DNS Domain: NetZ
目前手动重启服务是我找到的唯一解决办法,但总不能每次开机都这么操作。有没有大佬能指点下,我该从哪些方向入手,排查升级过程中到底是什么变化导致systemd-resolved启动超时的呢?
备注:内容来源于stack exchange,提问作者FyFAIR
相关产品推荐
相关产品推荐

