运行“udevadm trigger”后 DNS 解析失败,并显示“SERVFAIL”

运行“udevadm trigger”后 DNS 解析失败,并显示“SERVFAIL”

我遇到了一个问题,在 Ubuntu Server 上执行“udevadm trigger”命令后,DNS 解析失败并出现“SERVFAIL”错误。我注意到,每当我运行该命令时,都会持续出现此问题:

root@backend:~# nslookup azure.com
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   azure.com
Address: 20.43.132.131
Name:   azure.com
Address: 191.235.228.36
...

root@backend:~# udevadm trigger
root@backend:~# nslookup azure.com
Server:         127.0.0.53
Address:        127.0.0.53#53

** server can`t find azure.com: SERVFAIL

root@backend:~# systemctl restart NetworkManager
root@backend:~# nslookup azure.com
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
Name:   azure.com
Address: 20.50.2.51
Name:   azure.com
Address: 20.37.196.198
...

有人能解释一下为什么运行“udevadm trigger”可能会导致 DNS 解析失败吗?任何帮助或建议都将不胜感激。谢谢!

版本:Ubuntu 22.04.1 LTS(5.15.0-46-generic)

相关内容