mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新配置文件命名
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ systemd-r 1797 systemd-resolve 21u IPv4 23027 0t0 TCP 127.0.0.54:domai
|
|||||||
$ sudo mkdir -p /etc/systemd/resolved.conf.d
|
$ sudo mkdir -p /etc/systemd/resolved.conf.d
|
||||||
|
|
||||||
## 创建 systemd-resolved 配置文件
|
## 创建 systemd-resolved 配置文件
|
||||||
$ sudo nvim /etc/systemd/resolved.conf.d/server_dns.conf
|
$ sudo nvim /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
在配置文件中添加以下配置项,并保存。
|
在配置文件中添加以下配置项,并保存。
|
||||||
|
|||||||
+1
-1
@@ -431,7 +431,7 @@ $ sudo systemctl restart nftables.service
|
|||||||
$ sudo mkdir -p /etc/systemd/resolved.conf.d
|
$ sudo mkdir -p /etc/systemd/resolved.conf.d
|
||||||
|
|
||||||
## 创建 systemd-resolved 配置文件
|
## 创建 systemd-resolved 配置文件
|
||||||
$ sudo nvim /etc/systemd/resolved.conf.d/server_dns.conf
|
$ sudo nvim /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
在配置文件中添加以下配置项,并保存。
|
在配置文件中添加以下配置项,并保存。
|
||||||
|
|||||||
Reference in New Issue
Block a user