Comments (5)
这个需求可能暂时无法满足。
andriod架构和标准linux不同,并且没有这个功能需要root权限,andriod下没法满足权限要求。
类似,andriod下的host文件也是没权限修改的,除非root手机,但这给手机带来安全问题。
所以,我的建议是:
路由器开通DDNS服务,在路由器上安装vpn服务器。安卓手机安装VPN客户端。
然后手机VPN到路由器的网络,这样就可以使用smartdns解析,也有安全保障。
from smartdns.
dnsmasq上游是可以用udp的,可以试试
from smartdns.
smartdns在设计上,是最前端的服务器,所以没考虑支持tcp查询。手机,PC等都是不支持TCP查询的。
smartdns要是放在后端,就失去了加速的意义。
所以,openwrt中,smartdns的默认配置是将路由器53端口的请求,转发到了smartdns的端口,屏蔽了dnsmasq。
smartdns发挥最佳能力就是做局域网内的主dns服务器。
唯一差别就是和chinaDNS共存,这个场景,chinaDNS要在smartdns前面。
你的场景,dnsmasq主要用了什么功能?广告过滤?address参数,smartdns也是支持的。并且address过滤的性能比dnsmasq快100倍,如果能用smartdns作为主dns,建议修改为主dns。
smartdns我自己在华硕路由器上用了半年了,稳定性是没有问题的。
from smartdns.
考虑到smartdns是运行在近端的服务,tcp暂时不考虑支持。
但ipset,server参数,后面会规划进去。
from smartdns.
增加ipset,server功能。
#3
from smartdns.
Related Issues (20)
- 测试发现强解析存在bug HOT 3
- 无法获取新域名的 HOT 18
- 【正则匹配】域名规则有没有可能支持正则配置?
- doh支持使用特定token限制访问
- 用户日志能否支持功能调用IP识别运营商接口nali或者纯真qqwry.dat库支持日志展示
- 定义了组名的服务器没有从默认组中排除 HOT 1
- 使用代理地址报错 HOT 4
- domain-set 能否增加实时监听 -file 文件变动,实现不需要重启服务即可添加新的域名?
- 给上游服务器组设置备用上游
- nameserver 规则对私有IPv4地址的PTR记录无效
- 能做到根据ipv4返回的地址,选择上游服务器并返回结果么(即根据ip分流) HOT 15
- SmartDNS是否可以支持多节点之间的配置同步?或者提供对应API&Cli? HOT 2
- `sendto fdbd:dc01:fe:1009::1, id 217, Permission denied` HOT 18
- 广告屏蔽 HOT 9
- 关于DNS缓存的一些问题 HOT 9
- 能否提供单独关闭DNS64的按钮或者指令,仅限制v6访问v6,v4访问v4,部分程序不支持转换访问 HOT 1
- 目前看文档提供给用户侧支持DoT、DoH还有H3 和 DoQ目前暂不支持,想咨询一下如何验证 HOT 1
- 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
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.