Giter Club home page Giter Club logo

Comments (5)

pymumu avatar pymumu commented on May 22, 2024

这个需求可能暂时无法满足。
andriod架构和标准linux不同,并且没有这个功能需要root权限,andriod下没法满足权限要求。
类似,andriod下的host文件也是没权限修改的,除非root手机,但这给手机带来安全问题。

所以,我的建议是:
路由器开通DDNS服务,在路由器上安装vpn服务器。安卓手机安装VPN客户端。
然后手机VPN到路由器的网络,这样就可以使用smartdns解析,也有安全保障。

from smartdns.

pymumu avatar pymumu commented on May 22, 2024

dnsmasq上游是可以用udp的,可以试试

from smartdns.

pymumu avatar pymumu commented on May 22, 2024

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.

pymumu avatar pymumu commented on May 22, 2024

考虑到smartdns是运行在近端的服务,tcp暂时不考虑支持。
但ipset,server参数,后面会规划进去。

from smartdns.

pymumu avatar pymumu commented on May 22, 2024

增加ipset,server功能。
#3

from smartdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.