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

List Dns Forwarder Zones

Paginated list of all Dns Forwarder Zones

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/dns-forwarder-zones
/policy/api/v1/infra/dns-forwarder-zones
Request Headers:
n/a
Query Parameters:
PolicyDnsForwarderZoneListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/dns-forwarder-zones

Successful Response:

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

Example Response:

{ "sort_ascending" : true, "sort_by" : "display_name", "result_count" : 2, "results" : [ { "resource_type" : "PolicyDnsForwarderZone", "id" : "default-1", "display_name" : "$1", "path" : "/infra/dns-forwarder-zones/default-1", "parent_path" : "/infra/dns-forwarder-zones/default-1", "relative_path" : "default-1", "dns_domain_names" : [ ], "upstream_servers" : [ "3.3.3.3", "4.4.4.4" ], "_create_user" : "a;a", "_create_time" : 1517400275031, "_last_modified_user" : "a;a", "_last_modified_time" : 1517400275031, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 0 }, { "resource_type" : "PolicyDnsForwarderZone", "id" : "conditional-1", "display_name" : "$1", "path" : "/infra/dns-forwarder-zones/conditional-1", "parent_path" : "/infra/dns-forwarder-zones/conditional-1", "relative_path" : "conditional-1", "dns_domain_names" : [ "foo.com" ], "upstream_servers" : [ "1.1.1.1", "2.2.2.2" ], "_create_user" : "a;a", "_create_time" : 1517400132921, "_last_modified_user" : "a;a", "_last_modified_time" : 1517400132921, "_system_owned" : false, "_protection" : "NOT_PROTECTED", "_revision" : 0 } ] }

Required Permissions:

read

Feature:

policy_dns

Additional Errors: