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

Get current status of tier-1 DNS forwarder

Get current status of tier-1 DNS forwarder.
- no enforcement point path specified: Status will be evaluated on each enforcement
point.
- {enforcement_point_path}: Status will be evaluated only on the given enforcement
point.

Request:

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

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/tier-1/dns-forwarder/status?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "status_per_enforcement_point": [ { "resource_type": "NsxTDNSForwarderStatus", "enforcement_point_path": "/infra/sites/default/enforcement-points/default", "timestamp": 1537263302625, "status": "UP" } ], "intent_path": "/infra/tier-1s/tier-1/dns-forwarder" }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: