Policy > Networking > IP Management > DNS > DNS Forwarder > Tier-1 Gateways

Create or update the DNS Forwarder

Create or update the DNS Forwarder

Request:

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

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-1s/<tier-1-id>/dns-forwarder { "display_name" : "dns-forwarder", "listener_ip" : "5.5.5.5", "default_forwarder_zone_path" : "/infra/dns-forwarder-zones/default-1", "conditional_forwarder_zone_paths" : ["/infra/dns-forwarder-zones/conditional-1"] }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_dns

Additional Errors: