Comments (19)
127.0.0.1:5311
是什么提供的?有没有缓存?
实际查询时国内DNS不使用压缩指针。
from openwrt-chinadns.
127.0.0.1:5311是ss-tunnel的 指向8.8.8.8
应该是-m以后 delay没了导致的吧
去了-m 是默认0.3的delay 吧
记得之前GFW刚变污染策略 chinadns刚加上delay策略 没加压缩指针变异时候 我曾经把delay设置到0 结果就出现过类似现象
没看过代码 估计我也看不懂 也不清楚chinadns的具体对国内国外结果的选择策略是啥
from openwrt-chinadns.
我一直想知道压缩指针到底是干什么用的。
2015-09-05 21:58 GMT+08:00 Cokebar Chi [email protected]:
127.0.0.1:5311是ss-tunnel的 指向8.8.8.8
应该是-m以后 delay没了导致的吧—
Reply to this email directly or view it on GitHub
#24 (comment)
.
from openwrt-chinadns.
why does this time out so often? I already set the delay to 2.0sec
root@OpenWrt:~# dig github.com
; <<>> DiG 9.9.4 <<>> github.com
;; global options: +cmd
;; connection timed out; no servers could be reached
root@OpenWrt:## ps -w | grep china
root@OpenWrt:
4633 root 844 S /usr/bin/chinadns -p 5353 -s 202.96.134.133,8.8.4.4 -c /etc/chinadns_chnroute.txt -d -m -y 2.0
4717 root 1356 S grep china
root@OpenWrt:~#
from openwrt-chinadns.
try v1.3.2-2
from openwrt-chinadns.
#define ID_ADDR_QUEUE_LEN 128
#define DELAY_QUEUE_LEN 128
queue太小了,会不会是网络比较慢时,堵塞超过128个后就不停更新这个queue,没有一个命中。
from openwrt-chinadns.
static void dns_handle_remote()的最下面一个else,没有free(src_addr);
dns_handle_local也是最后个else没有free
from openwrt-chinadns.
更新到最新后,最近看iOS上的Instagram的图片加载也不正常了,发现得到的是114.114.114.114的结果,所以只好停了ChinaDNS,改用pdnsd直接+tcp HK的DNS,以下是scontent.cdninstagram.com的
dig @114.114.114.114 scontent.cdninstagram.com
; <<>> DiG 9.9.4 <<>> @114.114.114.114 scontent.cdninstagram.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38133
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;scontent.cdninstagram.com. IN A
;; AUTHORITY SECTION:
cdninstagram.com. 30 IN NS b.ns.igcdn.com.
cdninstagram.com. 30 IN NS a.ns.igcdn.com.
;; ADDITIONAL SECTION:
a.ns.igcdn.com. 30 IN A 69.171.239.11
b.ns.igcdn.com. 30 IN A 69.171.255.11
;; Query time: 20 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
dig @202.45.84.58 scontent.cdninstagram.com
; <<>> DiG 9.9.4 <<>> scontent.cdninstagram.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47585
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;scontent.cdninstagram.com. IN A
;; ANSWER SECTION:
scontent.cdninstagram.com. 90 IN A 31.13.95.48
;; Query time: 85 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
from openwrt-chinadns.
最近chinadns确实好多问题的,不知道是不是gfw变化了策略导致的,经常github解析不了。
from openwrt-chinadns.
有点怀疑是这个包的问题,现在换回c大的试试效果。
from openwrt-chinadns.
去本项目release页面看看1.3.2-2版本使用说明,也许有收获:
https://github.com/aa65535/openwrt-chinadns/releases
使用【境外自建dns】填入chinadns可信列表
from openwrt-chinadns.
感觉还是只有chinadns加unbound来防污染,dnscrypt用了2天,感觉不太稳定,几个小时必然故障10分钟
from openwrt-chinadns.
Redsocks2 UDP_relay适合加入可信DNS吗
from openwrt-chinadns.
现在是redsocks2+chinadns,当开网变得很卡时,重启openwrt可以改善,会是什么原因呢
from openwrt-chinadns.
我也遇到这种情况了。
得到国内dns结果是pass,具体表现为解析i.ytimg.com,上游的dns:221.131.143.69迅速返回一个183.207.229.202,最后pass给我的电脑了,比8.8.8.8返回的结果快很多!!
然后Youtube的首页所有图片都空白了
所以要考虑旧版本的带有 -d 0.3 延时+黑名单 了。。新版都阉割掉了
无奈
from openwrt-chinadns.
使用sstunnel,加上ipset完美
发自我的 iPhone
在 2016年1月22日,21:49,Lixingcong [email protected] 写道:
我也遇到这种情况了。
得到国内dns结果是pass,具体表现为解析i.ytimg.com,上游的dns:221.131.143.69迅速返回一个183.207.229.202,最后pass给我的电脑了,比8.8.8.8返回的结果快很多!!
然后Youtube的首页所有图片都空白了所以要考虑旧版本的带有 -d 0.3 延时+黑名单 了。。新版都阉割掉了
无奈—
Reply to this email directly or view it on GitHub.
from openwrt-chinadns.
没办法,我是需要使用222开头的ISP的dns完成校园网的账号认证,只要验证完毕后,可以自定义上游dns为114.114.114.114,8.8.8.8即可解决问题:
写了一个脚本,放到openwrt运行,然后完成账号登陆,再按Ctrl+c还原初始chinadns
#! /bin/sh
# 221开头的是我校园网账号的认证dns
UP1=221.131.143.69
UP2=8.8.8.8
echo_dns()
{
echo $(ps | grep chinadns | head -1 | awk '{print $9}')
}
kill_dns()
{
echo ''
echo killing chinadns:$UP1,$UP2...
/etc/init.d/chinadns start
sleep 1
echo -n starting:
echo_dns
exit 0
}
trap 'kill_dns' 2
if [ -n $(pgrep chinadns) ]; then
echo -n stopping:
echo_dns
/etc/init.d/chinadns stop
echo running:$UP1,$UP2
fi
/usr/bin/chinadns -p 5353 -s $UP1,$UP2 -c /etc/chinadns_chnroute.txt -m -v
from openwrt-chinadns.
何必这样麻烦,dnsmasq可以指定域名或者IP走指定dns服务器。
发自我的 iPhone
在 2016年1月23日,14:13,Lixingcong [email protected] 写道:
没办法,我是需要使用222开头的ISP的dns完成校园网的账号认证,只要验证完毕后,可以自定义上游dns为114.114.114.114,8.8.8.8即可解决问题:
写了一个脚本,放到openwrt运行,然后完成账号登陆,再按Ctrl+c还原初始chinadns#! /bin/sh
221开头的是我校园网账号的认证dns
UP1=221.131.143.69
UP2=8.8.8.8
echo_dns()
{
echo $(ps | grep chinadns | head -1 | awk '{print $9}')
}
kill_dns()
{
echo ''
echo killing chinadns:$UP1,$UP2...
/etc/init.d/chinadns start
sleep 1
echo -n starting:
echo_dns
exit 0
}
trap 'kill_dns' 2
if [ -n $(pgrep chinadns) ]; then
echo -n stopping:
echo_dns
/etc/init.d/chinadns stop
echo running:$UP1,$UP2
fi
/usr/bin/chinadns -p 5353 -s $UP1,$UP2 -c /etc/chinadns_chnroute.txt -m -v
—
Reply to this email directly or view it on GitHub.
from openwrt-chinadns.
试试搭配 https://github.com/aa65535/openwrt-dns-forwarder
from openwrt-chinadns.
Related Issues (20)
- ignore HOT 4
- [wiki doc] what is `option local '127.0.0.1#5353'`? why not `list server '127.0.0.1#5353'`? HOT 1
- local_ns_initparse: Message too large when request invalid domain HOT 1
- ChinaDNS 不运行
- ChinaDNS无效果
- 专程来说,谢谢,IPV6会有污染么 HOT 1
- 关于编译自动化构建问题 HOT 1
- help HOT 2
- 新版(v1.3.3-1)ChinaDNS突然不运行了 HOT 1
- 1.3.3关于DNS服务器端口号:/#区别,以及几个奇怪现象,并找到一个导致chinadns.c:726 local_ns_initparse: Message too 的奇怪问题 HOT 2
- 不起效?疑惑? HOT 3
- chinadns cannot bind port successfully HOT 2
- 双向过滤** IP 问题
- 只设置一个上游服务器DNS就无法解析是怎么回事?
- 希望增加openwrt19.07.4 arm_cortex-a9_vfpv3-d16支持 HOT 2
- pointer compression mutation getting outwitted these days
- SS是如何搭配ChinaDNS使用的呢 HOT 5
- chinadns 不工作 HOT 6
- luci配置的参数无法注入,手动修改init.d/chinadns 才能启动,否则无法启动 HOT 1
- Chinadns在LEDE版本中使用5353端口,dig结果超时,换其它端口正常 HOT 1
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 openwrt-chinadns.