- INFORMATION
-
gcloud dns response-policies rulesis supported in universe domainuniverse; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution. - NAME
-
- gcloud dns response-policies rules - manage your Cloud DNS response policy rules
- SYNOPSIS
-
-
gcloud dns response-policies rulesCOMMAND[GCLOUD_WIDE_FLAG …]
-
- EXAMPLES
-
To create a new response policy rule with local data rrsets, run:
gcloud dns response-policies rules myresponsepolicyrule --response-policy="myresponsepolicy" --dns-name="www.zone.com." --local-data=name=www.zone.com.,type=CNAME,ttl=21600,rrdatas=zone.com.To create a new response policy rule with behavior, run:
gcloud dns response-policies rules myresponsepolicyrule --response-policy="myresponsepolicy" --dns-name="www.zone.com." --behavior=bypassResponsePolicyTo update a new response policy rule with local data rrsets, run:
gcloud dns response-policies rules myresponsepolicyrule --response-policy="myresponsepolicy" --local-data=name=www.zone.com.,type=A,ttl=21600,rrdatas=1.2.3.4To update a new response policy rule with behavior, run:
gcloud dns response-policies rules myresponsepolicyrule --response-policy="myresponsepolicy" --behavior=bypassResponsePolicy - GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMAND - NOTES
-
These variants are also available:
gcloud alpha dns response-policies rulesgcloud beta dns response-policies rules
gcloud dns response-policies rules
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[]]