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)
- `sendto fdbd:dc01:fe:1009::1, id 217, Permission denied` HOT 18
- 广告屏蔽 HOT 9
- 关于DNS缓存的一些问题 HOT 11
- 能否提供单独关闭DNS64的按钮或者指令,仅限制v6访问v6,v4访问v4,部分程序不支持转换访问 HOT 1
- 目前看文档提供给用户侧支持DoT、DoH还有H3 和 DoQ目前暂不支持,想咨询一下如何验证 HOT 5
- multiple server entries, what order? HOT 3
- Bug Report:SmartDNS crashes due to misaligned memory access in `fast_ping.c`. HOT 3
- 32GB of DoH traffic? HOT 6
- 阿里云 自己说了 限速了 HOT 1
- 如何理解address配置项末尾的-参数? HOT 2
- docker版本升级问题 HOT 3
- Smart dns with guest network HOT 1
- 请问如何cf只返回v4屏蔽v6 HOT 2
- 分组上游DNS不通了,验证分组里面的域名默认DNS无法提供解析 HOT 2
- 不支持设置 .uk 域名的IP地址 HOT 2
- smartdns 升级到46后,Server名字变成了127.0.0.1 如何改回smartdns名字? HOT 4
- 要不要加上这个ustc黑名单 HOT 2
- 测速模式配置优先级的问题 HOT 2
- domain-rule 不生效 HOT 1
- 为 UDP 的监听端口设置 `SO_REUSEADDR` HOT 17
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.