Browse Source
Merge pull request #2691 from astorath/fix/dns_gcloud_private_zone
fix: added public dns zones filter
pull/2694/head
neil
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_gcloud.sh
|
|
@ -131,7 +131,7 @@ _dns_gcloud_find_zone() { |
|
|
|
filter="$filter$part. " |
|
|
|
part="$(echo "$part" | sed 's/[^.]*\.*//')" |
|
|
|
done |
|
|
|
filter="$filter)" |
|
|
|
filter="$filter) AND visibility=public" |
|
|
|
_debug filter "$filter" |
|
|
|
|
|
|
|
# List domains and find the zone with the deepest sub-domain (in case of some levels of delegation) |
|
|
|