Browse Source

Force NOTIFY after updating records

tags/v0.4.0
Jan Grewe 2 years ago
committed by GitHub
parent
commit
665609558c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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