---
title: "POST /v1/{+parent}/dnsPeerings"
method: POST
path: "/v1/{+parent}/dnsPeerings"
tags: ["projects"]
---

# POST /v1/{+parent}/dnsPeerings

`POST /v1/{+parent}/dnsPeerings`

Creates DNS peering on the given resource.

## Path parameters

- `parent` string, required

## Query parameters

- `dnsPeeringId` string

## Request body

- DnsPeering — DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
  - `domain` string — Required. The dns name suffix of the zone.
  - `targetNetwork` string — Optional. Optional target network to which dns peering should happen.
  - `description` string — Optional. Optional description of the dns zone.
  - `targetProject` string — Optional. Optional target project to which dns peering should happen.
  - `name` string — Identifier. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/datafusion.md) · [All operations](https://skmtc.dev/google/apis/datafusion/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/datafusion/revisions/c0785fabc6f4/schema)
