Failure reported by nsupdate. Bailing out! #399

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

Originally created by @wprauchholz on GitHub (Jan 16, 2019).

I run CENTOS 7 homerserver. Trying to obtain a certificate for wildcard domain. The process fails with error message :Failure reported by nsupdate. Bailing out!:

I added in the config file CHALLENGETYPE="dns-01" and HOOK="${SCRIPTDIR}/hook/hook.sh"
In the file hook.sh I set
[ -z "${NSUPDATE}" ] && NSUPDATE="/usr/bin/nsupdate -k /run/named/session.key"
[ -z "${SERVER}" ] && SERVER="<mydomain.com" (I also tried the IP address and www.<mydomain.com> too.

Any help is very welcome

Thanks you, Wolfgang

Originally created by @wprauchholz on GitHub (Jan 16, 2019). I run CENTOS 7 homerserver. Trying to obtain a certificate for wildcard domain. The process fails with error message :Failure reported by nsupdate. Bailing out!: I added in the config file CHALLENGETYPE="dns-01" and HOOK="${SCRIPTDIR}/hook/hook.sh" In the file hook.sh I set [ -z "${NSUPDATE}" ] && NSUPDATE="/usr/bin/nsupdate -k /run/named/session.key" [ -z "${SERVER}" ] && SERVER="<mydomain.com" (I also tried the IP address and www.<mydomain.com> too. Any help is very welcome Thanks you, Wolfgang
adam closed this issue 2025-12-29 01:24:25 +01:00
Author
Owner

@lukas2511 commented on GitHub (Jan 18, 2019):

I'm not sure you understand how nsupdate is supposed to work, it connects to your primary nameserver and updates your zone.

You have to have the correct key to access the primary nameserver for your domain and you have to define your primary nameserver for nsupdate so it knows where to connect to.

@lukas2511 commented on GitHub (Jan 18, 2019): I'm not sure you understand how nsupdate is supposed to work, it connects to your primary nameserver and updates your zone. You have to have the correct key to access the primary nameserver for your domain and you have to define your primary nameserver for nsupdate so it knows where to connect to.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#399