Autossl troubleshooting: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
Created page with "= Autossl sucks = == Domain control validation fails == If you run across a domain that resolves everywhere and even on the server itself, but is giving you the following er..."
 
No edit summary
Line 1: Line 1:
= Autossl sucks =


== Domain control validation fails ==
== Domain control validation fails ==
If you run across a domain that resolves everywhere and even on the server itself, but is giving you the following error:
If you run across a domain that resolves everywhere and even on the server itself, but is giving you the following error:


  2:48:48 PM WARN The domain “domain.com” failed domain control validation: “domain.com” does not resolve to any IPv4 addresses on the internet.
  ''2:48:48 PM WARN The domain “'''domain.com'''” failed domain control validation: “'''domain.com'''" does not resolve to any IPv4 addresses on the internet.''


Then give this cpanel command a try:
Then give this cpanel command a try:


  /usr/local/cpanel/3rdparty/bin/perl -mCpanel::DnsRoots -e 'use Data::Dumper; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("domain/com"));'
  /usr/local/cpanel/3rdparty/bin/perl -mCpanel::DnsRoots -e 'use Data::Dumper; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("'''domain.com'''"));'

Revision as of 19:32, 5 May 2018

Domain control validation fails

If you run across a domain that resolves everywhere and even on the server itself, but is giving you the following error:

2:48:48 PM WARN The domain “domain.com” failed domain control validation: “domain.com" does not resolve to any IPv4 addresses on the internet.

Then give this cpanel command a try:

/usr/local/cpanel/3rdparty/bin/perl -mCpanel::DnsRoots -e 'use Data::Dumper; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("domain.com"));'