更新 resolv.conf 配置

This commit is contained in:
CallMeR
2023-12-16 23:52:08 +08:00
parent 730773e42b
commit f90dd7a7c8
+1 -1
View File
@@ -107,7 +107,7 @@ DNSStubListener=no
```bash ```bash
## 创建 resolv.conf 软链接 ## 创建 resolv.conf 软链接
$ sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf $ sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
``` ```
配置完成后,需重启 `systemd-resolved.service` 服务,并再次检查系统 `53` 端口占用。 配置完成后,需重启 `systemd-resolved.service` 服务,并再次检查系统 `53` 端口占用。