Archived
更新 resolv.conf 配置
This commit is contained in:
1 parent
730773e42b
commit
f90dd7a7c8
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ DNSStubListener=no
|
||||
|
||||
```bash
|
||||
## 创建 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` 端口占用。
|
||||
|
||||
Reference in new issue
Block a user