NSX-T Data Center REST API

DnsAnswer (type) (Deprecated)

{
  "additionalProperties": false,
  "deprecated": true,
  "description": "The response for DNS nslookup.",
  "id": "DnsAnswer",
  "module_id": "DnsForwarder",
  "properties": {
    "answers": {
      "description": "The answers of the query.",
      "items": {
        "$ref": "DnsQueryAnswer"
      },
      "maxItems": 256,
      "minItems": 1,
      "required": false,
      "title": "The answers of the query.",
      "type": "array"
    },
    "authoritative_answers": {
      "deprecated": true,
      "description": "Authotitative answers of the query. This is a deprecated property, please use 'answers' instead.",
      "items": {
        "$ref": "DnsQueryAnswer"
      },
      "maxItems": 256,
      "minItems": 1,
      "required": false,
      "title": "Authoritative answers",
      "type": "array"
    },
    "dns_server": {
      "description": "Dns server ip address and port, format is \"ip address#port\".",
      "required": true,
      "title": "DNS server information",
      "type": "string"
    },
    "edge_node_id": {
      "description": "ID of the edge node that performed the query.",
      "required": true,
      "title": "Edge node id",
      "type": "string"
    },
    "non_authoritative_answers": {
      "deprecated": true,
      "description": "Non-authotitative answers of the query. This is a deprecated property, please use 'answers' instead.",
      "items": {
        "$ref": "DnsQueryAnswer"
      },
      "maxItems": 256,
      "minItems": 1,
      "required": false,
      "title": "Non authoritative answers",
      "type": "array"
    },
    "raw_answer": {
      "description": "It can be NXDOMAIN or error message which is not consisted of authoritative_answer or non_authoritative_answer.",
      "required": false,
      "title": "Raw message returned from the DNS forwarder",
      "type": "string"
    },
    "source_ip": {
      "$ref": "IPv4Address",
      "description": "The source ip used in this lookup.",
      "required": true,
      "title": "The source ip used in this lookup"
    }
  },
  "title": "Answer of dns nslookup",
  "type": "object"
}