Skip to content

Commit

Permalink
adds key to send_nsupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-burns committed Jul 17, 2024
1 parent 4cc8ac8 commit ba5743c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions process_requests
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ for request_ptr in ${REQUEST_QUEUE}; do
else
request_key_fqdn_status="KEY '${request_key_fqdn}' IS NOT submitted to ${NSUPDATE_ACTION} under zone '${ZONE}', as DNS resource records for '${request_key_fqdn}' already exist."
fi
# now delete PTR & KEY record
# optionally they could be archived somwhere else first ...
# now delete PTR & KEY record
# optionally they could be archived somwhere else first ...
# NSUPDATE_PRECONDITION_SET="yxdomain"
# NSUPDATE_PRECONDITION=""
NSUPDATE_ITEM_SIGNAL_PTR="update delete ${SIGNAL_SUBZONE}.${ZONE}. PTR ${request_ptr}"
NSUPDATE_ITEM_SIGNAL_KEY="update delete ${request_ptr} ${request_key}"
send_nsupdate "${ZONE}" "$(echo ${NSUPDATE_ITEM_SIGNAL_PTR})" "${NSUPDATE_AUTH_SIG0_KEY_FQDN}"
NSUPDATE_ITEM_SIGNAL_PTR="update delete ${SIGNAL_SUBZONE}.${ZONE}. PTR ${request_ptr}"
NSUPDATE_ITEM_SIGNAL_KEY="update delete ${request_ptr} ${request_key}"
send_nsupdate "${ZONE}" "$(echo ${NSUPDATE_ITEM_SIGNAL_PTR};echo ${NSUPDATE_ITEM_SIGNAL_KEY})" "${NSUPDATE_AUTH_SIG0_KEY_FQDN}"

;;
delete)
Expand Down

0 comments on commit ba5743c

Please sign in to comment.