先编辑/etc/resolv.conf,改成DNS64地址
nameserver 2001:67c:2b0::4
nameserver 2001:67c:27e4::64
或者还行这个命令
echo -e "nameserver 2001:67c:2b0::4\nnameserver 2001:67c:2b0::6" > /etc/resolv.conf
然后编辑/etc/yum/pluginconf.d/fastestmirror.conf,改一下
enable=0
然后执行
yum update
安装带IPv6的宝塔
curl -sSO http://download.bt.cn/install/new_install.sh && bash new_install.sh
NGINX传递真实IP就在nginx.conf的http里加上
#获取CDN真实IP
set_real_ip_from ::/0;
real_ip_header X-Forwarded-For;
几个能用的dns64
http://www.trex.fi/2011/dns64.html
2001:67c:2b0::4
2001:67c:2b0::6
https://go6lab.si/current-ipv6-tests/nat64dns64-public-test/
2001:67c:27e4:15::6411
2001:67c:27e4::64