Browse Source

Force NOTIFY after updating records

tags/v0.4.0
Jan Grewe 1 year ago
parent
commit
665609558c
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pdns_api.sh

+ 1
- 0
pdns_api.sh View File

@@ -376,6 +376,7 @@ main() {
# Perform requests
for zone in "${!requests[@]}"; do
request "PATCH" "${url}/${zone}" '{"rrsets": ['"${requests[${zone}]}"']}'
request "PUT" "${url}/${zone}/notify" ''
done

# Wait the requested amount of seconds when deployed

Loading…
Cancel
Save