参考
https://hostloc.com/thread-823223-1-1.html
![](https://cdn.1024.ee/wp-content/uploads/2021/03/mini_-2021-03-25-at-09.43.13-1280x1141.png)
技术
vi /etc/systemd/resolved.conf # 写入 DNS=8.8.8.8 DNS=8.8.4.4 DNS=1.1.1.1 DNS=1.0.0.1 DNS=2001:4860:4860::8888 DNS=2001:4860:4860::8844 DNS=2606:4700:4700::1111 DNS=2606:4700:4700::1001 # 重启dns 服务 systemctl restart systemd-resolved.service # check systemd-resolve --status
![](https://cdn.1024.ee/wp-content/uploads/2021/03/mini_-2021-03-25-at-09.39.28-1280x1079.png)
验证
![](https://cdn.1024.ee/wp-content/uploads/2021/03/mini_-2021-03-25-at-09.45.42.png)