Skip to content

Commit

Permalink
v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pmkol committed Oct 13, 2022
1 parent d135027 commit 0cb4ba3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ chmod +x /etc/mosdns/tools/config-reset
- 项目完整开源,可用于部署DNS服务器、开发软路由插件等多种场景
- 使用源码仅需标明使用 [EasyMosdns](https://apad.pro/easymosdns) 的源码即可
- 配置文件相关问题,请查阅 [Mosdns-Wiki](https://irine-sistiana.gitbook.io/mosdns-wiki/)
#### 如何支持作者
[前往打赏](https://afdian.net/a/maplecool)
<br />
## Contact Us
Expand Down
Empty file modified remote/easymosdns
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions tools/ipv4-global-off
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
mosdns_working_dir="/etc/mosdns"
source $mosdns_working_dir/include.conf
sed -i '/^ - _prefer_ipv4/c\ #- _prefer_ipv4' $mosdns_working_dir/config.yaml
sed -i '/^ - _prefer_ipv4/c\ # - _prefer_ipv4' $mosdns_working_dir/config.yaml
$mosdns_working_dir/restart.service
echo 'OnlyIPv4:Off'
1 change: 1 addition & 0 deletions tools/ipv4-global-on
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
mosdns_working_dir="/etc/mosdns"
source $mosdns_working_dir/include.conf
sed -i '/^ #- _prefer_ipv4/c\ - _prefer_ipv4' $mosdns_working_dir/config.yaml
sed -i '/^ # - _prefer_ipv4/c\ - _prefer_ipv4' $mosdns_working_dir/config.yaml
$mosdns_working_dir/restart.service
echo 'OnlyIPv4:On(Global)'

0 comments on commit 0cb4ba3

Please sign in to comment.