Welcome to Centmin Mod Community
Become a Member

Beta Branch update centmin.sh menu option 2 in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 1, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:11 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update centmin.sh menu option 2 in 123.09beta01

    - update check_dns routine to detect reverse proxies cloudflare, incapsula and sucuri if they are in front of your domain/server
    - if cloudflare dns detected test IPv6 connectivity to local server and if IPv6 connectivity disabled or not working, add a note for users to enable Cloudflare Pseudo IPv4 https://community.centminmod.com/threads/cloudflare-ipv6-compatibility-pseudo-ipv4.17066/

    Continue reading...

    123.09beta01 branch


     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:11 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    example of updated centmin.sh menu option 2 detecting cloudflare dns with working server IPv6 connectivity
    Code (Text):
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name to add (without www. prefix): centminmod.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: n
    Get Letsencrypt SSL certificate Nginx vhost? [y/n]: y
    
    ---------------------------------------------------------------
    To get Letsencrypt SSL certificate, you must already have updated intended
    domain vhost name's DNS A record to this server's IP addresss.
    If top level domain, DNS A record is needed also for www. version of domain
    otherwise, Letsencrypt domain name validation will fail.
    ---------------------------------------------------------------
    continue [y/n] ? y
    
    
    centminmod.com is a top level domain
    your server IPv4 IP address: xxx.xxx.xxx.xxx
    
    centminmod.com IPv4 DNS A record is behind Cloudflare IPs
    current DNS A record IPv4 address for centminmod.com is: 104.20.231.85 104.20.230.85
    
    centminmod.com IPv6 DNS AAAA record is behind Cloudflare IPs
    current DNS AAAA record IPv6 address for centminmod.com is: 2606:4700:10::6814:e655 2606:4700:10::6814:e755
    
    www.centminmod.com IPv4 DNS A record is behind Cloudflare IPs
    current DNS A record IP address for www.centminmod.com is: 104.20.231.85 104.20.230.85
    
    www.centminmod.com IPv6 DNS AAAA record is behind Cloudflare IPs
    current DNS AAAA record IPv6 address for www.centminmod.com is: 2606:4700:10::6814:e655 2606:4700:10::6814:e755
    
    Do you want to continue [y/n]: n
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:11 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    example of updated centmin.sh menu option 2 detecting cloudflare with non-working IPv6 connectivity on server so add a note for DNS AAAA checks to enable Cloudflare Pseudo IPv4 option
    Code (Text):
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name to add (without www. prefix): centminmod.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: n
    Get Letsencrypt SSL certificate Nginx vhost? [y/n]: y
    
    ---------------------------------------------------------------
    To get Letsencrypt SSL certificate, you must already have updated intended
    domain vhost name's DNS A record to this server's IP addresss.
    If top level domain, DNS A record is needed also for www. version of domain
    otherwise, Letsencrypt domain name validation will fail.
    ---------------------------------------------------------------
    continue [y/n] ? y
    
    
    centminmod.com is a top level domain
    your server IPv4 IP address: xxx.xxx.xxx.xxx
    
    centminmod.com IPv4 DNS A record is behind Cloudflare IPs
    current DNS A record IPv4 address for centminmod.com is: 104.20.230.85 104.20.231.85
    
    centminmod.com IPv6 DNS AAAA record is behind Cloudflare IPs
    your server doesn't have IPv6 connectivity, so ensure on your
    Cloudflare account > Network tab you enable Pseudo IPv4
    https://community.centminmod.com/threads/17066/
    current DNS AAAA record IPv6 address for centminmod.com is: 2606:4700:10::6814:e655 2606:4700:10::6814:e755
    
    www.centminmod.com IPv4 DNS A record is behind Cloudflare IPs
    current DNS A record IP address for www.centminmod.com is: 104.20.231.85 104.20.230.85
    
    www.centminmod.com IPv6 DNS AAAA record is behind Cloudflare IPs
    your server doesn't have IPv6 connectivity, so ensure on your
    Cloudflare account > Network tab you enable Pseudo IPv4
    https://community.centminmod.com/threads/17066/
    current DNS AAAA record IPv6 address for www.centminmod.com is: 2606:4700:10::6814:e755 2606:4700:10::6814:e655
    
    Do you want to continue [y/n]: n