New install hostname certificate missing dns
Just configured a new cPanel server. Had to change the hostname but when trying to install the service ssl certificate we are getting errors that the dns zones do not exist? Is this a manual process as I would assume that changing the hostname would create the dns records for you?
Error:
The system will attempt to replace the certificate for the “cpanel” service with a signed certificate from the “Let’s Encrypt™” provider because none of the domains on the current certificate reside on the local server.
The system will attempt to install a certificate for the “cpanel” service from the system SSL storage.
None of the certificates in the system SSL storage were acceptable to use for the “cpanel” service.
DNS query error (myhost.net/CAA): SERVFAIL (2)
The system will attempt to get a new certificate for the domains: srv126.myhost.net, autoconfig.srv126.myhost.net, autodiscover.srv126.myhost.net, cpanel.srv126.myhost.net, cpcalendars.srv126.myhost.net, cpcontacts.srv126.myhost.net, ipv6.srv126.myhost.net, mail.srv126.myhost.net, webdisk.srv126.myhost.net, webmail.srv126.myhost.net, whm.srv126.myhost.net, www.srv126.myhost.net
The system failed to validate domain control for the domain “cpcalendars.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for cpcalendars.srv126.myhost.net; no valid AAAA records found for cpcalendars.srv126.myhost.net)
The system failed to validate domain control for the domain “cpcontacts.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for cpcontacts.srv126.myhost.net; no valid AAAA records found for cpcontacts.srv126.myhost.net)
The system failed to validate domain control for the domain “webmail.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for webmail.srv126.myhost.net; no valid AAAA records found for webmail.srv126.myhost.net)
The system failed to validate domain control for the domain “autoconfig.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for autoconfig.srv126.myhost.net; no valid AAAA records found for autoconfig.srv126.myhost.net)
The system failed to validate domain control for the domain “ipv6.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for ipv6.srv126.myhost.net; no valid AAAA records found for ipv6.srv126.myhost.net)
The system failed to validate domain control for the domain “www.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers maybe malfunctioning)
The system failed to validate domain control for the domain “srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “autodiscover.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for autodiscover.srv126.myhost.net; no valid AAAArecords found for autodiscover.srv126.myhost.net)
The system failed to validate domain control for the domain “webdisk.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for webdisk.srv126.myhost.net; no valid AAAA records found for webdisk.srv126.myhost.net)
The system failed to validate domain control for the domain “whm.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for whm.srv126.myhost.net; no valid AAAA records found forwhm.srv126.myhost.net)
The system failed to validate domain control for the domain “mail.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “cpanel.srv126.myhost.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (no valid A records found for cpanel.srv126.myhost.net; no valid AAAA records found for cpanel.srv126.myhost.net)
The system failed to validate domain control for the domain “autodiscover.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “www.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “ipv6.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers maybe malfunctioning)
The system failed to validate domain control for the domain “autoconfig.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “webmail.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “cpcontacts.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “cpcalendars.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “cpanel.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “mail.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers maybe malfunctioning)
The system failed to validate domain control for the domain “whm.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
The system failed to validate domain control for the domain “webdisk.srv126.myhost.net” using the “DNS” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: SERVFAIL looking up CAA for myhost.net - the domain's nameservers may be malfunctioning)
“srv126.myhost.net” failed DCV. Cannot proceed.
-
Hey there! Changing the hostname on the server does not configure the DNS automatically for you, so you still need to ensure there is an A record for the hostname either on the cPanel machine (https://docs.cpanel.net/whm/dns-functions/add-an-a-entry-for-your-hostname/) or wherever the DNS for the hostname's domain is hosted.
0 -
Thanks cPRex. Is that the same for the whm.*.net , webdisk.*.net records?
Thanks for the response.
0 -
The additional records would get created by the "Service subdomains" option in WHM >> Tweak Settings, and aren't directly related to the hostname of the machine.
0
Please sign in to leave a comment.
Comments
3 comments