Lookup Address
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).
Please use Policy API: GET /policy/api/v1/infra/tier-0s/{tier-0-id}/dns-forwarder/nslookup GET /policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/nslookup
forwarder-id
IP address or FQDN for nslookup
IPv4 address
IPv4 address
OK
{
"answers": [
{
"address": "string",
"name": "string",
"raw_string": "string"
}
],
"authoritative_answers": [
{
"address": "string",
"name": "string",
"raw_string": "string"
}
],
"dns_server": "string",
"edge_node_id": "string",
"non_authoritative_answers": [
{
"address": "string",
"name": "string",
"raw_string": "string"
}
],
"raw_answer": "string",
"source_ip": "string"
}
The answers of the query.
Authotitative answers of the query. This is a deprecated property, please use 'answers' instead.
Dns server ip address and port, format is "ip address#port".
ID of the edge node that performed the query.
Non-authotitative answers of the query. This is a deprecated property, please use 'answers' instead.
It can be NXDOMAIN or error message which is not consisted of authoritative_answer or non_authoritative_answer.
The source ip used in this lookup.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/dns/forwarders/{forwarder-id}/nslookup