Policy > Networking > IP Management > DNS > DNS Forwarder > DNS Zones

Create or update the DNS Forwarder Zone

Create or update the DNS Forwarder Zone

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/dns-forwarder-zones/{dns-forwarder-zone-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/dns-forwarder-zones/{dns-forwarder-zone-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyDnsForwarderZone+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/dns-forwarder-zones/conditional-1 { "display_name" : "Conditional 1", "dns_domain_names" : [ "foo.com" ], "upstream_servers" : [ "1.1.1.1", "2.2.2.2" ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_dns

Additional Errors: