Archived
优化文案描述
This commit is contained in:
+7
-7
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user