gcloud alpha dns response-policies rules

NAME
gcloud alpha dns response-policies rules - manage your Cloud DNS response policy rules
SYNOPSIS
gcloud alpha dns response-policies rulesCOMMAND[GCLOUD_WIDE_FLAG]
EXAMPLES
To create a new response policy rule with local data rrsets, run:
gcloudalphadnsresponse-policiesrulesmyresponsepolicyrule--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:

gcloudalphadnsresponse-policiesrulesmyresponsepolicyrule--response-policy="myresponsepolicy"--dns-name="www.zone.com."--behavior=bypassResponsePolicy

To update a new response policy rule with local data rrsets, run:

gcloudalphadnsresponse-policiesrulesmyresponsepolicyrule--response-policy="myresponsepolicy"--local-data=name=www.zone.com.,type=A,ttl=21600,rrdatas=1.2.3.4

To update a new response policy rule with behavior, run:

gcloudalphadnsresponse-policiesrulesmyresponsepolicyrule--response-policy="myresponsepolicy"--behavior=bypassResponsePolicy
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
create
(ALPHA) Creates a new Cloud DNS response policy rule.
delete
(ALPHA) Deletes a Cloud DNS response policy rule.
describe
(ALPHA) Shows details about a Cloud DNS response policy rule.
list
(ALPHA) Displays the list of all a Cloud DNS response policy rules.
update
(ALPHA) Updates a new Cloud DNS response policy rule.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gclouddnsresponse-policiesrules
gcloudbetadnsresponse-policiesrules

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-17 UTC.