NSX-T Data Center REST API

NsxTDnsAnswer (type)

{
  "additionalProperties": false,
  "extends": {
    "$ref": "PolicyDnsAnswerPerEnforcementPoint"
  },
  "id": "NsxTDnsAnswer",
  "module_id": "PolicyDnsForwarder",
  "properties": {
    "authoritative_answers": {
      "items": {
        "$ref": "NsxTDnsQueryAnswer"
      },
      "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"
    },
    "enforcement_point_path": {
      "description": "Policy path referencing the enforcement point from where the DNS forwarder nslookup answer is fetched.",
      "readonly": true,
      "title": "Enforcement point path",
      "type": "string"
    },
    "non_authoritative_answers": {
      "items": {
        "$ref": "NsxTDnsQueryAnswer"
      },
      "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"
    },
    "resource_type": {
      "description": "Resource type of the DNS forwarder nslookup answer.",
      "enum": [
        "NsxTDnsAnswer"
      ],
      "required": true,
      "title": "Resource type",
      "type": "string"
    }
  },
  "title": "Answer of dns nslookup",
  "type": "object"
}