找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1755|回复: 7

备注留存贴一份 pdnsd + dnscry.pt-proxy + Chin.aDNS + 55 的配置

[复制链接]
本帖最后由 safehorse 于 2020-1-12 21:31 编辑



最近有个角落缺个上外网的, 弄了下NEWIFI-D2的OP, 在移动线路下用的,目前还算稳定

DHCP 设置
--------------------------
1.  DNS 转发: 127.0.0.1#5353 (5353为Chin.aDNS 端口)
2. 忽略解析文件: 打勾

dnscr.ypt-proxy设置
--------------------------
config dnscrypt-proxy ns1
        option address '127.0.0.1'
        option port '5354'
        option resolver 'cisco-familyshield'
        option syslog '0'

Chin.DNS设置

--------------------------
打开运行着就好, 端口5353
上游服务器:  本地移动的DNS,127.0.0.1#5300 (5300为pdnsd端口)



pdnsd配置
--------------------------
global {
        perm_cache=4096;
        cache_dir="/var/pdnsd";
#        pid_file = /var/run/pdnsd.pid;
        run_as="nobody";
        server_ip = 127.0.0.1;
        server_port = 5300;  
        status_ctl = on;
#        paranoid=on;
        query_method=tcp_only;
        min_ttl=1d;       # Retain cached entries at least 15 minutes.
        max_ttl=1w;        # One week.
        timeout=10;        # Global timeout option (10 seconds).
        neg_domain_pol=on;
#        udpbufsize=1024;
#        udpbufsize=1024;   # Upper limit on the size of UDP messages.
}

server {
        label = "mobile";
        ip = 211.140.188.188,114.114.114.114,208.67.222.222;
        timeout = 6;
        proxy_only = on;
        uptest = none;         # Test if the network interface is active.
#        root_server = on;  
}

server {
        label = "dnscrypt-proxy";
        ip = 127.0.0.1;
        port = 5354;         # DNSCR.YPT-PROXY端口
#        proxy_only = on;
        timeout = 6;
        uptest = none;         # Test if the network interface is active.
        interface = eth0;    # The name of the interface to check.
        interval = 10m;      # Check every 10 minutes.
        purge_cache = off;   # Keep stale cache entries in case the ISP's
                           # DNS servers go offline.
        edns_query = yes;  
}


S.S配置

--------------------------
平时可以关掉, 要用的时候设置成启动延时5秒, 开主服务器+UDP中继服务器两个就好


我的恩山、我的无线 The best wifi forum is right here.
感谢分享使用体会
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
楼主你是pdnsd的真爱粉?每回都要带上pdnsd,移动线路走pdnsd的TCP查询,被污染的厉害哦,我现在用的Smart DNS, 启用doh,还蛮好

点评

最近有啥新机型可以折腾吗? TP一众老机器+FX的一堆都折腾完了, 没啥可以玩了  详情 回复 发表于 2020-1-13 11:10
也不是真爱, 只是这东西变化很快, 如果在我这条线路上暂时能用满足基本需求就不想去动了。 如果弄到上不了肯定得去找更加好 的  详情 回复 发表于 2020-1-13 11:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

有酸酸还要用pdnsd,真是蛋疼。




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

大佬你的是什么宽带? 我这边单独用酸酸还真带不上, 所以又加了两道  详情 回复 发表于 2020-1-13 11:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
hello_limin 发表于 2020-1-12 23:37
楼主你是pdnsd的真爱粉?每回都要带上pdnsd,移动线路走pdnsd的TCP查询,被污染的厉害哦,我现在用的Smart  ...

也不是真爱, 只是这东西变化很快, 如果在我这条线路上暂时能用满足基本需求就不想去动了。 如果弄到上不了肯定得去找更加好 的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
99010 发表于 2020-1-13 01:02
有酸酸还要用pdnsd,真是蛋疼。

大佬你的是什么宽带? 我这边单独用酸酸还真带不上, 所以又加了两道

点评

看下/usr/bin里面有没有酸酸-tunnel,如果有,就改下init.d的启动文件。还有dnsmasq.conf。  详情 回复 发表于 2020-1-13 14:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
hello_limin 发表于 2020-1-12 23:37
楼主你是pdnsd的真爱粉?每回都要带上pdnsd,移动线路走pdnsd的TCP查询,被污染的厉害哦,我现在用的Smart  ...

最近有啥新机型可以折腾吗? TP一众老机器+FX的一堆都折腾完了, 没啥可以玩了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

safehorse 发表于 2020-1-13 11:08
大佬你的是什么宽带? 我这边单独用酸酸还真带不上, 所以又加了两道

看下/usr/bin里面有没有酸酸-tunnel,如果有,就改下init.d的启动文件。还有dnsmasq.conf。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 06:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表