HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_services_peered-dns-domains_create.1
.TH "GCLOUD_SERVICES_PEERED\-DNS\-DOMAINS_CREATE" 1



.SH "NAME"
.HP
gcloud services peered\-dns\-domains create \- create a peered DNS domain for a private service connection



.SH "SYNOPSIS"
.HP
\f5gcloud services peered\-dns\-domains create\fR \fINAME\fR \fB\-\-dns\-suffix\fR=\fIDNS_SUFFIX\fR \fB\-\-network\fR=\fINETWORK\fR [\fB\-\-async\fR] [\fB\-\-service\fR=\fISERVICE\fR;\ default="servicenetworking.googleapis.com"] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

This command creates a peered DNS domain for a private service connection which
sends requests for records in a given namespace originating in the service
producer VPC network to the consumer VPC network to be resolved.



.SH "EXAMPLES"

To create a peered DNS domain called \f5example\-com\fR which forwards DNS
requests for the domain suffix \f5example.com.\fR for a private service
connection between service \f5peering\-service\fR and the consumer network
\f5my\-network\fR in the current project, run:

.RS 2m
$ gcloud services peered\-dns\-domains create example\-com \e
    \-\-network=my\-network \-\-service=peering\-service \e
    \-\-dns\-suffix=example.com.
.RE

To run the same command asynchronously (non\-blocking), run:

.RS 2m
$ gcloud services peered\-dns\-domains create example\-com \e
    \-\-network=my\-network \-\-service=peering\-service \e
    \-\-dns\-suffix=example.com. \-\-async
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fINAME\fR

The name of the peered DNS domain to create.


.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-dns\-suffix\fR=\fIDNS_SUFFIX\fR

The DNS domain name suffix of the peered DNS domain.

.TP 2m
\fB\-\-network\fR=\fINETWORK\fR

The network in the consumer project peered with the service.


.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-service\fR=\fISERVICE\fR; default="servicenetworking.googleapis.com"

The name of the service to create a peered DNS domain for.


.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha services peered\-dns\-domains create
.RE

.RS 2m
$ gcloud beta services peered\-dns\-domains create
.RE