Browse Source

Fix two minor errors

tags/v0.4.0
Silke 2 years ago
parent
commit
a12082aee0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      pdns_api.sh

+ 1
- 1
README.md View File

@@ -14,7 +14,7 @@ PDNS_KEY=secret # API key
PDNS_SERVER=localhost # Optional. Server for the API to use, usually `localhost`
PDNS_VERSION=1 # Optional. API version, 0 for anything under PowerDNS 4
PDNS_WAIT=300 # Optional. Delay for when slaves are slow
PDNS_ZONES_TXT # Optional. File containing zones to use (see below).
PDNS_ZONES_TXT=zones.txt # Optional. File containing zones to use (see below).
```

Configure the DNS hook by adding the following to your Dehydrated config:

+ 1
- 1
pdns_api.sh View File

@@ -332,7 +332,7 @@ main() {
# Interface for SOA-EDIT
if [[ "${hook}" = "soa_edit" ]]; then
shift
soa_edit $@
soa_edit "$@"
exit 0
fi


Loading…
Cancel
Save