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

Get current status of tier-0 DNS forwarder

Get current status of tier-0 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-0s/{tier-0-id}/dns-forwarder/status
/policy/api/v1/global-infra/tier-0s/{tier-0-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-0s/tier-01/dns-forwarder/status

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" }, { "resource_type": "NsxTDNSForwarderStatus", "enforcement_point_path": "/infra/sites/default/enforcement-points/default1", "extra_message": "ERROR status could be an intermediate state during failover between transport nodes. Please recheck the status a few minutes later.", "timestamp": 1537263302625, "status": "ERROR" } ], "intent_path": "/infra/tier-0s/tier-01/dns-forwarder" }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: