Learn about Centmin Mod LEMP Stack today
Become a Member

Cloudflare Cloudflare IPv6 Compatibility & Pseudo IPv4

Discussion in 'Domains, DNS, Email & SSL Certificates' started by eva2000, Apr 1, 2019.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    39,779
    8,774
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,505
    Local Time:
    8:30 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    If you are using Cloudflare in front of your server, then Cloudflare will resolve your domain over both IPv4 and IPv6 Cloudflare IP addresses. But if your Centmin Mod Nginx origin doesn't support IPv6 or has IPv6 disabled, you may need to enable Pseudo IPv4 for compatibility in Cloudflare > Network tab.

    Example for this forum behind Cloudflare doing DNS A and AAAA lookups returning Cloudflare's IPv4 A record and Cloudflare's IPv6 AAAA record.
    Code (Text):
    dig +short A community.centminmod.com  
    104.20.230.85
    104.20.231.85
    

    Code (Text):
    dig +short AAAA community.centminmod.com
    2606:4700:10::6814:e755
    2606:4700:10::6814:e655
    

    verify if your server supports IPv6 using ping6 command on your Centmin Mod server
    Code (Text):
    ping6 -c4 community.centminmod.com

    if IPv6 supported output for ping6
    Code (Text):
    ping6 -c4 community.centminmod.com
    PING community.centminmod.com(2606:4700:10::6814:e755 (2606:4700:10::6814:e755)) 56 data bytes
    64 bytes from 2606:4700:10::6814:e755 (2606:4700:10::6814:e755): icmp_seq=1 ttl=61 time=0.398 ms
    64 bytes from 2606:4700:10::6814:e755 (2606:4700:10::6814:e755): icmp_seq=2 ttl=61 time=0.360 ms
    64 bytes from 2606:4700:10::6814:e755 (2606:4700:10::6814:e755): icmp_seq=3 ttl=61 time=0.531 ms
    64 bytes from 2606:4700:10::6814:e755 (2606:4700:10::6814:e755): icmp_seq=4 ttl=61 time=0.328 ms
    
    --- community.centminmod.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3002ms
    rtt min/avg/max/mdev = 0.328/0.404/0.531/0.078 ms
    

    if IPv6 not supported or broken on server for ping6 output
    Code (Text):
    ping6 -c4 community.centminmod.com
    connect: Network is unreachable
    


    cf-pseudo-ipv4.png
     
..
Thread Status:
Not open for further replies.