DNS problem: NXDOMAIN looking up TXT for MX record #258

Closed
opened 2025-12-29 01:20:27 +01:00 by adam · 1 comment
Owner

Originally created by @mzeyrek on GitHub (Oct 8, 2017).

I have a prb while renewing cert. I even did sleep time in dehydated as 10 suggested in somewhere. However i'm unable to renew only one spesific subdomain : mail.mydomain.com
Rest seems to be renewed already due cron however today i realized my mail subdomain about to expire.

I don't have any issue with renewal of TXT records while my expiring MX record giving below error

#
# !! WARNING !! No main config file found, using default config!
#
 + Godaddy hook executing: startup_hook
Processing mydomain.com with alternative names: www.mydomain.com mail.mydomain.com sub.mydomain.com sub2.mydomain.com
 + Checking domain name(s) of existing cert... changed!
 + Domain name(s) are not matching!
 + Names in old certificate: sub3.mydomain.com sub4.mydomain.com sub.mydomain.com sub5.mydomain.com mail.mydomain.com www.mydomain.com sub2.mydomain.com mydomain.com
 + Configured names: sub.mydomain.com mail.mydomain.com www.mydomain.com sub2.mydomain.com mydomain.com
 + Forcing renew.
 + Checking expire date of existing cert...
 + Valid till Oct  8 20:31:00 2017 GMT Certificate will expire
(Less than 30 days). Renewing!
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting challenge for mydomain.com...
 + Requesting challenge for www.mydomain.com...
 + Already validated!
 + Requesting challenge for mail.mydomain.com...
 + Already validated!
 + Requesting challenge for sub.mydomain.com...
 + Already validated!
 + Requesting challenge for sub2.mydomain.com...
 + Already validated!
 + Godaddy hook executing: deploy_challenge
 + Updating TXT record for _acme-challenge.mydomain.com to 'kvhgQZypkk_Hhgz1VW6w-xYrjbhg5liypevDGeJCOQac'.
 + Responding to challenge for mydomain.com...
 + Godaddy hook executing: clean_challenge
 + Updating TXT record for _acme-challenge.mydomain.com to 'null'.
 + Godaddy hook executing: invalid_challenge
 + invalid challenge for domain mydomain.com: {
  "type": "dns-01",
  "status": "invalid",
  "error": {
    "type": "urn:acme:error:connection",
    "detail": "DNS problem: NXDOMAIN looking up TXT for _acme-challenge.mydomain.com",
    "status": 400
  },
Originally created by @mzeyrek on GitHub (Oct 8, 2017). I have a prb while renewing cert. I even did sleep time in dehydated as 10 suggested in somewhere. However i'm unable to renew only one spesific subdomain : mail.mydomain.com Rest seems to be renewed already due cron however today i realized my mail subdomain about to expire. I don't have any issue with renewal of TXT records while my expiring MX record giving below error ``` # # !! WARNING !! No main config file found, using default config! # + Godaddy hook executing: startup_hook Processing mydomain.com with alternative names: www.mydomain.com mail.mydomain.com sub.mydomain.com sub2.mydomain.com + Checking domain name(s) of existing cert... changed! + Domain name(s) are not matching! + Names in old certificate: sub3.mydomain.com sub4.mydomain.com sub.mydomain.com sub5.mydomain.com mail.mydomain.com www.mydomain.com sub2.mydomain.com mydomain.com + Configured names: sub.mydomain.com mail.mydomain.com www.mydomain.com sub2.mydomain.com mydomain.com + Forcing renew. + Checking expire date of existing cert... + Valid till Oct 8 20:31:00 2017 GMT Certificate will expire (Less than 30 days). Renewing! + Signing domains... + Generating private key... + Generating signing request... + Requesting challenge for mydomain.com... + Requesting challenge for www.mydomain.com... + Already validated! + Requesting challenge for mail.mydomain.com... + Already validated! + Requesting challenge for sub.mydomain.com... + Already validated! + Requesting challenge for sub2.mydomain.com... + Already validated! + Godaddy hook executing: deploy_challenge + Updating TXT record for _acme-challenge.mydomain.com to 'kvhgQZypkk_Hhgz1VW6w-xYrjbhg5liypevDGeJCOQac'. + Responding to challenge for mydomain.com... + Godaddy hook executing: clean_challenge + Updating TXT record for _acme-challenge.mydomain.com to 'null'. + Godaddy hook executing: invalid_challenge + invalid challenge for domain mydomain.com: { "type": "dns-01", "status": "invalid", "error": { "type": "urn:acme:error:connection", "detail": "DNS problem: NXDOMAIN looking up TXT for _acme-challenge.mydomain.com", "status": 400 }, ```
adam closed this issue 2025-12-29 01:20:27 +01:00
Author
Owner

@mzeyrek commented on GitHub (Oct 9, 2017):

increasing sleep time worked self closing

@mzeyrek commented on GitHub (Oct 9, 2017): increasing sleep time worked self closing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#258