mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
更新配置文件备注
This commit is contained in:
+2
-1
@@ -246,7 +246,8 @@ $ sudo nvim /etc/systemd/timesyncd.conf.d/10-server-ntp.conf
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
|
||||
```bash
|
||||
## NTP 配置项
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize system NTP server.
|
||||
|
||||
[Time]
|
||||
NTP=ntp.tencent.com ntp.aliyun.com
|
||||
|
||||
+2
-1
@@ -100,7 +100,8 @@ $ sudo nvim /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
|
||||
```bash
|
||||
## systemd-resolved 配置项
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize system resolve parameters for local DNS server.
|
||||
|
||||
[Resolve]
|
||||
DNS=127.0.0.1
|
||||
|
||||
+4
-2
@@ -272,7 +272,8 @@ $ sudo nvim /etc/systemd/timesyncd.conf.d/10-server-ntp.conf
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
|
||||
```bash
|
||||
## NTP 配置项
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize system NTP server.
|
||||
|
||||
[Time]
|
||||
NTP=ntp.tencent.com ntp.aliyun.com
|
||||
@@ -437,7 +438,8 @@ $ sudo nvim /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
|
||||
```bash
|
||||
## systemd-resolved 配置项
|
||||
# This configuration file is customized by fox,
|
||||
# Optimize system resolve parameters for local TS server.
|
||||
|
||||
[Resolve]
|
||||
DNS=127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user