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

Resolve a given address via the dns forwarder at Tier1

Query the nameserver for an ip-address or a FQDN of the given an address optionally using
an specified DNS server. If the address is a fqdn, nslookup will resolve ip-address with it.
If the address is an ip-address, do a reverse lookup and answer fqdn(s).
If enforcement point is specified, then DNS forwarder nslookup answer will get fetched from
specified enforcement point. Otherwise from all enforcement points.

Request:

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

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/tier1/dns-forwarder/nslookup?address=vmware.com&enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

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

Example Response:

{ "dns_answer_per_enforcement_point": [ { "resource_type": "NsxTDnsAnswer", "enforcement_point_path": "/infra/sites/default/enforcement-points/default", "dns_server" : "10.117.0.1#53", "edge_node_id" : "e2fa39aa-f4ca-4781-ac48-60a6c47d34e0", "authoritative_answer" : [ { "name": "vmware.com" "address": "10.113.63.149" } ] } ], "intent_path": "/infra/tier-1s/tier1/dns-forwarder" }

Required Permissions:

read

Feature:

policy_dns

Additional Errors: