---
title: DNS type | Wartiva GraphQL API
description: Domain Name System (DNS) service. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/dns.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `DNS` type

Domain Name System (DNS) service.

## Fields

| Field Name | Description |
|---|---|
| `bindVersionAnswer` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Answer returned by DNS server to dns.Question{Name: "version.bind.", Qtype: dns.TypeTXT, Qclass: dns.ClassCHAOS} |
| `bindHostnameAnswer` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Answer returned by DNS server to dns.Question{Name: "hostname.bind.", Qtype: dns.TypeTXT, Qclass: dns.ClassCHAOS} |
| `tlsSupport` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the resolver answered over DNS-over-TLS (RFC 7858). False for a resolver reached over plain UDP or TCP, where every query and answer crosses the network in the clear. |
| `tls` - [`TLS`](https://wartiva.com/api-docs/types/tls.html) | Details of the DNS-over-TLS connection the resolver negotiated, including the certificate chain it presented and whether that chain verifies. Null when no TLS handshake was observed. |

## Used by

- [`ServiceReport`](https://wartiva.com/api-docs/types/service-report.html) union: The service specific data structure describing details of the specific type of service.

## Example

### Example

```json
{
  "bindVersionAnswer": "abc123",
  "bindHostnameAnswer": "xyz789",
  "tlsSupport": false,
  "tls": TLS
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
