Code Monkey home page Code Monkey logo

Comments (17)

LGA1150 avatar LGA1150 commented on May 20, 2024

试试IPv6 NAT?

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@LGA1150 翻了挺多资料,但没有设置成功。

from sysuv6-dns.

LGA1150 avatar LGA1150 commented on May 20, 2024

解析到境外的问题还没解决

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@LGA1150 解析到境外的问题应该修复好了

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

问题已经修复,感谢 @LGA1150 提供的 IPv6 解决方案,我迟点会将设置方法整理出来。

from sysuv6-dns.

LGA1150 avatar LGA1150 commented on May 20, 2024
nslookup www.gzjd.gov.cn
服务器:  pcap-dnsproxy.server
Address:  ::1

非权威应答:
名称:    opt.mport.ourglb0.com
Address:  61.200.88.59
Aliases:  www.gzjd.gov.cn
          www.gzjd.gov.cn.cdn20.com

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@LGA1150 看解析结果应该是交给了 IPv4 DNS Address = 208.67.222.222:5353 或者 IPv4 Alternate DNS Address = 208.67.220.220:443 解析了。

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@LGA1150 这个是网宿的 CDN,其实直接 CNAME HOST 到教育网的节点就可以了,不过我也好奇怎么没有交给 Local DNS 解析。

from sysuv6-dns.

LGA1150 avatar LGA1150 commented on May 20, 2024

我记得已经改成 Google IPv6 DNS 解析了
要不使用 Local Hosts 白名单模式?

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@LGA1150 发现 Pcap_DNSProxy 会自动 reload 配置,但不会清空 cache,现在我手动清空 cache 之后问题解决。

from sysuv6-dns.

LGA1150 avatar LGA1150 commented on May 20, 2024

仍然未解决

>nslookup www.gov.cn ::1
服务器:  pcap-dnsproxy.server
Address:  ::1

非权威应答:
名称:    webcache.foreign.ccgslb.com
Addresses:  209.177.81.134
          209.177.81.23
          209.177.81.152
Aliases:  www.gov.cn
          www.gov.chinacache.net

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

发现 pcap-dnsproxy 启动一段时间之后 local dns 就会失效,暂时两台服务器上测试都有这个问题,迟点我去开一个 issue。

from sysuv6-dns.

chengr28 avatar chengr28 commented on May 20, 2024

Local Main + Local Routing 模式的话是先请求 Local DNS 同时对解析结果扫描,如果所有解析结果都命中境内路由表才会接受并发回给客户端,否则如果 Local DNS 挂了或者不是所有结果都命中的话 Local DNS 这部请求就算是失败的,程序会自动继续使用其它请求方式

from sysuv6-dns.

chengr28 avatar chengr28 commented on May 20, 2024

有个选项 Local Force Request 可以强制程序在 Local Hosts 命中但失败的情况下不使用其它请求方式,应该可以达到类似的效果,不过由于 Local Main + Local Routing 模式本身是先把所有请求发到 Local DNS 上,如果强制不能用其它方法又没有规则区分这些请求的类型的话等于直接请求 Local DNS 所以这个模式下不能使用这个功能……

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@chengr28 好的,明白了。 此外,好像启用 EDNS 会影响 Local Routing 的功能?我们当初就是启用了 EDNS 导致部分域名会解析到国外,具体是这个参数

from sysuv6-dns.

chengr28 avatar chengr28 commented on May 20, 2024

@bazingaterry ECS 这里其实有坑……程序配置文件里虽然可以自定义后缀长度,但是标准实际上是推荐 IPv4 保留 24 位而 IPv6 保留 56 位,尤其是没有标准化之前还是 RFC 草案阶段,很多 DNS 服务器对于不符合保留位数要求的 ECS 有可能会直接忽略或者胡乱解析成其它地址,建议如果有时间可以以不同的后缀长度多测试看看

from sysuv6-dns.

kamingchan avatar kamingchan commented on May 20, 2024

@chengr28 好的,谢谢解答,明白了。

from sysuv6-dns.

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.