Autossl troubleshooting: Difference between revisions

From Cheatsheet
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
  ''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:
==== IPV4 ====
<pre>
Give this cpanel command a try to pull ipv4 ips for a domain: (dont forget to change '''enterthedomainhere.com''' to the domain in question)
/usr/local/cpanel/3rdparty/bin/perl -mCpanel::DnsRoots -e 'use Data::Dumper; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("domain.com"));'
<pre style="white-space: pre-wrap;">
/usr/local/cpanel/3rdparty/bin/perl -mCpanel::DnsRoots -e 'use Data::Dumper; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("enterthedomainhere.com"));'
</pre>
</pre>


If that does not provide enough information use this dubug line to hit the motherload:
If that does not provide enough information use this debug line to hit the motherload:
<pre>
<pre style="white-space: pre-wrap;">
/usr/local/cpanel/3rdparty/perl/524/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'local $Cpanel::DnsRoots::Resolver::DEBUG=1; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("enterdomainhere.com"));'
</pre>
 
==== Nameservers ====
Give this cpanel command a try to pull nameservers for a domain: (dont forget to change '''enterthedomainhere.com''' to the domain in question)
<pre style="white-space: pre-wrap;">
/usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("enterthedomainhere.com"));'
</pre>
 
If that does not provide enough information use this debug line to hit the motherload:
<pre style="white-space: pre-wrap;">
/usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'local $Cpanel::DnsRoots::Resolver::DEBUG=1; print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("enterthedomainhere.com"));'
/usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'local $Cpanel::DnsRoots::Resolver::DEBUG=1; print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("enterthedomainhere.com"));'
</pre>
</pre>

Latest revision as of 20:42, 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.

IPV4

Give this cpanel command a try to pull ipv4 ips for a domain: (dont forget to change enterthedomainhere.com to the domain in question)

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

If that does not provide enough information use this debug line to hit the motherload:

/usr/local/cpanel/3rdparty/perl/524/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'local $Cpanel::DnsRoots::Resolver::DEBUG=1; print Dumper(Cpanel::DnsRoots->new()->get_ipv4_addresses_for_domain("enterdomainhere.com"));'

Nameservers

Give this cpanel command a try to pull nameservers for a domain: (dont forget to change enterthedomainhere.com to the domain in question)

/usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("enterthedomainhere.com"));'

If that does not provide enough information use this debug line to hit the motherload:

/usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'local $Cpanel::DnsRoots::Resolver::DEBUG=1; print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("enterthedomainhere.com"));'