NSX-T Data Center REST API
Create or update the DNS Forwarder
Create or update the DNS ForwarderRequest:
Method:
PATCH
URI Path(s):
/policy/api/v1/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