From ed0db21a9f6b32989e4adec3d366b57ad3125e59 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Wed, 13 Dec 2023 20:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=88=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index ca61455..14d0f68 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -116,7 +116,7 @@ $ sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf 配置完成后,需重启 `systemd-resolved.service` 服务,并再次检查系统 `53` 端口占用。 ```bash -## 重启 systemd-resolved 服务 +## 重启 systemd-resolved.service $ sudo systemctl restart systemd-resolved.service ``` @@ -192,10 +192,10 @@ $ sudo apt install dnsmasq 检查 `dnsmasq.service` 服务状态,确保该服务开机自启。 ```bash -## 检查 Dnsmasq 服务 +## 检查 dnsmasq.service $ sudo systemctl status dnsmasq.service -## 设置 Dnsmasq 服务开机自启 +## 设置 dnsmasq.service 开机自启 $ sudo systemctl enable dnsmasq.service ``` @@ -227,10 +227,10 @@ $ sudo ./install -i 修改 `SmartDNS` 配置之前,需检查 `smartdns.service` 服务状态,确保该服务开机自启。 ```bash -## 检查 SmartDNS 服务 +## 检查 smartdns.service $ sudo systemctl status smartdns.service -## 设置 SmartDNS 服务开机自启 +## 设置 smartdns.service 开机自启 $ sudo systemctl enable smartdns.service ``` @@ -241,10 +241,10 @@ $ sudo systemctl enable smartdns.service 修改 `SmartDNS` 主配置文件之前,建议关闭 `SmartDNS` 并清理 DNS 缓存文件。 ```bash -## 关闭 SmartDNS 服务 +## 关闭 smartdns.service $ sudo systemctl stop smartdns.service -## 清理 SmartDNS 缓存 +## 清理缓存 $ sudo rm -rvf /var/cache/smartdns ```