Giter Club home page Giter Club logo

Comments (19)

aa65535 avatar aa65535 commented on June 19, 2024

127.0.0.1:5311 是什么提供的?有没有缓存?
实际查询时国内DNS不使用压缩指针。

from openwrt-chinadns.

cokebar avatar cokebar commented on June 19, 2024

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.

 avatar commented on June 19, 2024

我一直想知道压缩指针到底是干什么用的。

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.

w18g avatar w18g commented on June 19, 2024

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:#
root@OpenWrt:
# ps -w | grep china
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.

aa65535 avatar aa65535 commented on June 19, 2024

try v1.3.2-2

from openwrt-chinadns.

ccxp avatar ccxp commented on June 19, 2024

#define ID_ADDR_QUEUE_LEN 128
#define DELAY_QUEUE_LEN 128

queue太小了,会不会是网络比较慢时,堵塞超过128个后就不停更新这个queue,没有一个命中。

from openwrt-chinadns.

ccxp avatar ccxp commented on June 19, 2024

static void dns_handle_remote()的最下面一个else,没有free(src_addr);
dns_handle_local也是最后个else没有free

from openwrt-chinadns.

mysteriouss avatar mysteriouss commented on June 19, 2024

更新到最新后,最近看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.

ohyeah521 avatar ohyeah521 commented on June 19, 2024

最近chinadns确实好多问题的,不知道是不是gfw变化了策略导致的,经常github解析不了。

from openwrt-chinadns.

thank243 avatar thank243 commented on June 19, 2024

有点怀疑是这个包的问题,现在换回c大的试试效果。

from openwrt-chinadns.

lixingcong avatar lixingcong commented on June 19, 2024

去本项目release页面看看1.3.2-2版本使用说明,也许有收获:
https://github.com/aa65535/openwrt-chinadns/releases
使用【境外自建dns】填入chinadns可信列表

from openwrt-chinadns.

thank243 avatar thank243 commented on June 19, 2024

感觉还是只有chinadns加unbound来防污染,dnscrypt用了2天,感觉不太稳定,几个小时必然故障10分钟

from openwrt-chinadns.

hero18688 avatar hero18688 commented on June 19, 2024

Redsocks2 UDP_relay适合加入可信DNS吗

from openwrt-chinadns.

hero18688 avatar hero18688 commented on June 19, 2024

现在是redsocks2+chinadns,当开网变得很卡时,重启openwrt可以改善,会是什么原因呢

from openwrt-chinadns.

lixingcong avatar lixingcong commented on June 19, 2024

我也遇到这种情况了。

得到国内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.

thank243 avatar thank243 commented on June 19, 2024

使用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.

lixingcong avatar lixingcong commented on June 19, 2024

没办法,我是需要使用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.

thank243 avatar thank243 commented on June 19, 2024

何必这样麻烦,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.

aa65535 avatar aa65535 commented on June 19, 2024

试试搭配 https://github.com/aa65535/openwrt-dns-forwarder

from openwrt-chinadns.

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.