Comments (5)
装ar71xx是对的,看看有无端口冲突
换个端口试试
from smartdns.
set_iptable()
{
IPS="ifconfig | grep "inet addr" | grep -v ":127" | grep "Bcast" | awk '{print $2}' | awk -F: '{print $2}'
"
for IP in $IPS
do
//.........
done
}
改为
set_iptable()
{
IPS="ifconfig | grep "inet addr" | grep -v ":127" | grep "Bcast" | awk '{print $2}' | awk -F ':' '{print $2}'
"
for IP in $IPS
do
//.........
done
}
`
-F中间没有空格。
还是没运行,换端口也不行。
from smartdns.
查看了日志,发现是socket创建失败,手动写配置文件上加上ip地址就可以了。
bind 127.0.0.1:5353。
但是到自启动就不行,仔细检查启动脚本/etc/ini.d/smartdns发现是写死了。
修改为
config_get "port" "$section" "port" "5353"
conf_append "bind" "127.0.0.1:$port"
SMARTDNS_PORT="$port"
本来的程序是ip地址是可配置项,网页上不能配置。
有个小建议:其实不需要这么多配置文件来生成最终配置文件的,只增加复杂程度了。
from smartdns.
这个是因为没有IPV6协议的支持。
程序默认绑定了ipv6的全局端口,以支持ipv4,ipv6.
网页上有自定义页面可以修改配置的,不需要改脚本的。
from smartdns.
新版本对这些问题作了修改,请更新验证。
from smartdns.
Related Issues (20)
- audit-file 设置自定义保存路径无效 HOT 3
- DNS64 似乎不起作用 (可能是我理解错误? HOT 4
- domain-rules -address 支持 #6r (提供DNS64,但不是真V6地址 HOT 1
- 建议自定义设置conf-file 文件不存在时可跳过 HOT 3
- APT仓库内的软件版本已过时 HOT 3
- 域名设置address规则返回soa,audit无记录,Bug吗? HOT 1
- domain-rules -no-serve-expired 选项依赖 “speed-check-mode none”
- 双栈优选能否强制指定IPv6 HOT 7
- 什麼狀況緩存紀錄會被踢掉?:serve-expired-ttl 0 HOT 6
- 莫名其妙的丢一些 DNS 解析 HOT 23
- immortalwrt23.05.1安装smartdns失败 HOT 5
- 同步最新的代码后编译失败了 HOT 3
- HTTP 400 Bad Request for DOH ordns.he.net HOT 2
- commit: 5d76934d8359e6894ad9a5f4465cbf216a5dbc02 编译报错!
- Mullvad DNS HOT 1
- Total speed check failure shouldn't be cached HOT 1
- ipset-timeout问题 HOT 3
- 开启缓存后,如果某个域名被污染了,即使修改了该域名的 domain-rules 规则,也无法快速更新缓存文件中的被污染域名结果 HOT 1
- domain-rules的group参数问题 HOT 5
- speed-check-mode使用问题 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartdns.