Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved.
HTTP request
POST https://servicenetworking.googleapis.com/v1/{parent=services/*/projects/*/global/networks/*}/peeredDnsDomains
Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: services/{service}/projects/{project}/global/networks/{network} {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. {project} is the number of the project that contains the service consumer's VPC network e.g. 12345. {network} is the name of the service consumer's VPC network.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# Method: services.projects.global.networks.peeredDnsDomains.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved.\n\n### HTTP request\n\n`POST https://servicenetworking.googleapis.com/v1/{parent=services/*/projects/*/global/networks/*}/peeredDnsDomains`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [PeeredDnsDomain](/service-infrastructure/docs/service-networking/reference/rest/v1/services.projects.global.networks.peeredDnsDomains#PeeredDnsDomain).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/service-infrastructure/docs/service-networking/reference/rest/v1/operations#Operation).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/service.management`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]