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

Read the DNS Forwarder for the given tier-0 instance

Read the DNS Forwarder for the given tier-0 instance

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/dns-forwarder
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/dns-forwarder
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/<tier-0-id>/dns-forwarder

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyDnsForwarder+

Example Response:

{ "resource_type" : "PolicyDnsForwarder", "id" : "dns-forwarder", "display_name" : "dns-forwarder", "path" : "/infra/tier-0s/prv/dns-forwarder", "parent_path" : "/infra/tier-0s/prv", "relative_path" : "dns-forwarder", "listener_ip" : "5.5.5.5", "conditional_forwarder_zone_paths" : [ "/infra/dns-forwarder-zones/conditional-1" ], "log_level" : "INFO", "enabled" : true, "default_forwarder_zone_path" : "/infra/dns-forwarder-zones/default-1", "_create_user" : "a;a", "_create_time" : 1517403652195, "_last_modified_user" : "a;a", "_last_modified_time" : 1517403652195, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

read

Feature:

policy_dns

Additional Errors: