Browse Source
Merge pull request #3403 from manuelm/dev
dnsapi/pdns: also normalize json response in detecting root zone
pull/3408/head
neil
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_pdns.sh
|
@ -175,7 +175,7 @@ _get_root() { |
|
|
i=1 |
|
|
i=1 |
|
|
|
|
|
|
|
|
if _pdns_rest "GET" "/api/v1/servers/$PDNS_ServerId/zones"; then |
|
|
if _pdns_rest "GET" "/api/v1/servers/$PDNS_ServerId/zones"; then |
|
|
_zones_response="$response" |
|
|
|
|
|
|
|
|
_zones_response=$(echo "$response" | _normalizeJson) |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
while true; do |
|
|
while true; do |
|
|