mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-09-01 06:22:52 +08:00
更新 SmartDNS 参数
This commit is contained in:
+1
-1
@@ -444,7 +444,7 @@ Debian 模板虚拟机已经配置完成,在将其转换为模板前需要对
|
|||||||
$ sudo apt clean && sudo apt autoclean && sudo apt autoremove --purge
|
$ sudo apt clean && sudo apt autoclean && sudo apt autoremove --purge
|
||||||
|
|
||||||
## 清理系统缓存
|
## 清理系统缓存
|
||||||
$ sudo rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
|
$ sudo rm -rvf /var/cache/apt/* /var/cache/smartdns/* /var/lib/apt/lists/* /tmp/*
|
||||||
|
|
||||||
## 清理系统日志
|
## 清理系统日志
|
||||||
$ sudo find /var/log/ -type f | xargs sudo rm -rvf
|
$ sudo find /var/log/ -type f | xargs sudo rm -rvf
|
||||||
|
|||||||
@@ -332,8 +332,6 @@ $ sudo nvim /etc/smartdns/smartdns.conf
|
|||||||
|
|
||||||
conf-file /etc/smartdns.d/*.conf
|
conf-file /etc/smartdns.d/*.conf
|
||||||
|
|
||||||
cache-file /tmp/smartdns.cache
|
|
||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
conf-file /etc/smartdns.d/*.conf
|
conf-file /etc/smartdns.d/*.conf
|
||||||
|
|
||||||
cache-file /tmp/smartdns.cache
|
|
||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
|
|||||||
Reference in New Issue
Block a user