-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
做了一个luci,建议作者可以集成进去。我把源码一起发上来。 #11
Comments
我不会 luci, 如果合并了上述 code, 如果 chinadns-ng 有一些功能性的变动会导致 luci 模块无法维护。 |
luci本来就是独立的,只跟config/chinadns-ng这个配置文件有关,只要配置文件内容不变就没有关系。只是我没有用github,所以建议作者可以提供个平台。而且因为chinadns-ng本身是你在维护其实正应该你一起维护了,不然哪天变了别人也不一定知道啊。不过我只是自己折腾了一个,顺便给需要的人提供给方便。或者就让这个issue留着也行。需要的自己下载。 o = s:option(Flag, "fair_mode", o = s:option(Value, "bind_port", translate("Listen Port")) o = s:option(Value, "bind_addr", translate("Listen Address")) o = s:option(Value, "chnlist_file", translate("CHNRoute File")) o = s:option(Value, "gfwlist_file", translate("GFWRoute File")) o = s:option(Value, "timeout_sec", translate("timeout_sec")) o = s:option(Value, "repeat_times", translate("repeat_times")) o = s:option(Value, "china_dns", o = s:option(Value, "trust_dns", o = s:option(Flag, "chnlist_first", o = s:option(Flag, "reuse_port", o = s:option(Flag, "noip_as_chnip", 最后 |
我已经整理存档到了 |
ucitrack这个我倒是实现了,pexcn大已经合并到luci分支了,你可以试试。 你之前不行是不是因为init文件没有加这个: 我也是只会读代码和拼凑代码的新手…… |
基于rampis编译的chinadns-ng,以及luci,可以直接取用。
chinadns-ng_1.0-beta.15-1_mipsel_24kc.ipk
luci-app-chinadnsng_1.0-3_mipsel_24kc.ipk
其中luci与平台无关,各个平台都可以直接用
编译是基于19.07.1的sdk但是没有用到什么特殊的功能,应该从15以后的版本都没问题。
源码放在sdk的package下面,分类在
Utilities-->luci-chinadns-ng
make package/luci-app-chinadnsng/{clean,compile} -j V=99
即可
链接: https://pan.baidu.com/s/10bJbc_I6pM50-fqDilkklg 提取码: hhkc
另外目前采用ucitrack的功能希望能够让程序根据config的更改自行reload没办法实现,不知道为什么所以目前就没有添加uci-default文件,而是采用了在luci页面apply的时候执行reload,同时会在日志记录reload的信息。希望作者可以把service-trigger有空看看。
The text was updated successfully, but these errors were encountered: