只有ipv6,如何访问ipv4资源

/ 默认分类 / 没有评论 / 733浏览

分享两个可以用的dns64+nat64节点

设置dns为

http://www.trex.fi/2011/dns64.html

nameserver 2001:67c:2b0::4
nameserver 2001:67c:2b0::6

https://go6lab.si/current-ipv6-tests/nat64dns64-public-test/

nameserver 2001:67c:27e4:15::6411
nameserver 2001:67c:27e4::64

为什么修改dns之后可以实现ipv6访问ipv4资源?

目标dns服务器会判断我们要访问的网址有没有ipv6,如果没有ipv6,则dns服务器会通过其他具有ipv4的主机请求数据,并返回给我们,从而达到了ipv6 only机器访问ipv4资源的目的。同时需要注意的是,代请求ipv4的service会记录我们的访问记录。