pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.33k stars 1.07k forks source link

`conf-file conf.d/*` as default #1666

Open enihcam opened 7 months ago

enihcam commented 7 months ago

需求应用场景 请描述需求应用的场景和方式。

建议的方案 实现上述场景建议的方案。

to avoid adding conf-file conf.d/* to smartdns.conf everytime it is upgraded + overwritten

设备信息

  1. 设备信息(CPU,厂家)

  2. 固件信息

pymumu commented 7 months ago

Currently there is no conf.d directory, this directory only exists in openwrt version It needs to be discussed whether it is necessary to include this configuration item by default.

enihcam commented 7 months ago

Currently there is no conf.d directory, this directory only exists in openwrt version It needs to be discussed whether it is necessary to include this configuration item by default.

whenever smartdns is upgraded, a 3-way comparison over smartdns.conf (remote/local/modified) takes place and requires manual effort just because the modified version is one with only conf-file conf.d/* added.

adding /etc/smartdns/conf.d/ directory and conf-file conf.d/* will eliminate the manual effort.