Merge pull request #2691 from astorath/fix/dns_gcloud_private_zone

fix: added public dns zones filter
This commit is contained in:
neil 2020-01-14 22:28:17 +08:00 committed by GitHub
commit 5aa0f547cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)