Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5aa0f547
Unverified
Commit
5aa0f547
authored
Jan 14, 2020
by
neil
Committed by
GitHub
Jan 14, 2020
Browse files
Merge pull request #2691 from astorath/fix/dns_gcloud_private_zone
fix: added public dns zones filter
parents
0712e989
70fdb104
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_gcloud.sh
View file @
5aa0f547
...
@@ -131,7 +131,7 @@ _dns_gcloud_find_zone() {
...
@@ -131,7 +131,7 @@ _dns_gcloud_find_zone() {
filter
=
"
$filter$part
. "
filter
=
"
$filter$part
. "
part
=
"
$(
echo
"
$part
"
|
sed
's/[^.]*\.*//'
)
"
part
=
"
$(
echo
"
$part
"
|
sed
's/[^.]*\.*//'
)
"
done
done
filter
=
"
$filter
)"
filter
=
"
$filter
)
AND visibility=public
"
_debug filter
"
$filter
"
_debug filter
"
$filter
"
# List domains and find the zone with the deepest sub-domain (in case of some levels of delegation)
# List domains and find the zone with the deepest sub-domain (in case of some levels of delegation)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment