Query Nameserver
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
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/nslookup
Parameters
Parameters
string
tier-1-id
Required
No description available
Query Parameters
Query Parameters
string
address
Optional
IP address or FQDN for nslookup
string
enforcement_point_path
Optional
String Path of the enforcement point
Response
Response
Response BodyResponse Body
200 OK returns
AggregatePolicyDnsAnswer
{
"dns_answer_per_enforcement_point": [
{
"enforcement_point_path": "string",
"resource_type": "string"
}
],
"intent_path": "string"
}
string
intent_path
Required
String path of the DNS forwarder intent.
array of
PolicyDnsAnswerPerEnforcementPoint
dns_answer_per_enforcement_point
Optional
List of DNS forwarder nslookup answer per enforcement point.
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/nslookup
Errors
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).
On This Page
DNS Forwarder Operations
delete
get
patch