mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
适配 trixie 版本
This commit is contained in:
+5
-5
@@ -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
|
||||
|
||||
## 创建 systemd-resolved 配置文件
|
||||
$ sudo nvim /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||
$ sudo editor /etc/systemd/resolved.conf.d/10-server-dns.conf
|
||||
```
|
||||
|
||||
在配置文件中添加以下配置项,并保存。
|
||||
@@ -324,11 +324,11 @@ $ sudo rm -rvf /var/run/smartdns.pid /run/smartdns.pid
|
||||
$ sudo mv /etc/smartdns/smartdns.conf /etc/smartdns/smartdns.conf.bak
|
||||
```
|
||||
|
||||
使用 `neovim` 编辑器创建 `SmartDNS` 主配置文件,执行以下命令。
|
||||
创建 `SmartDNS` 主配置文件,执行以下命令。
|
||||
|
||||
```bash
|
||||
## 创建 SmartDNS 主配置文件
|
||||
$ sudo nvim /etc/smartdns/smartdns.conf
|
||||
$ sudo editor /etc/smartdns/smartdns.conf
|
||||
```
|
||||
|
||||
在编辑器对话框中输入以下内容,并保存。
|
||||
@@ -399,11 +399,11 @@ server-https https://dns.alidns.com/dns-query
|
||||
$ sudo mkdir -p /etc/dnsmasq.d
|
||||
```
|
||||
|
||||
使用 `neovim` 编辑器创建 `Dnsmasq` 主配置文件,执行以下命令。
|
||||
创建 `Dnsmasq` 主配置文件,执行以下命令。
|
||||
|
||||
```bash
|
||||
## 创建 Dnsmasq 主配置文件
|
||||
$ sudo nvim /etc/dnsmasq.d/10-server-dnsmasq.conf
|
||||
$ sudo editor /etc/dnsmasq.d/10-server-dnsmasq.conf
|
||||
```
|
||||
|
||||
在编辑器对话框中输入以下内容,并保存。
|
||||
|
||||
Reference in New Issue
Block a user