# NS Records: Name Servers

The NS records of deepinfo.com: the two name servers that are authoritative for the domain.

Source: https://docs.deepinfo.com/reference/lookup/dns/examples/type-ns/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/dns?domain=deepinfo.com&type=NS`

The NS records of deepinfo.com: the two name servers that are authoritative for the domain.

Example 4 of 13 in **Record Types** · [DNS Lookup Examples](/reference/lookup/dns/examples/) · endpoint: [DNS](/reference/lookup/dns/)

Tags: `param` `domain` · `param` `type` · `value` `deepinfo.com` · `value` `NS`

Asks for the `NS` records of `deepinfo.com`.

The answer names the domain's two authoritative name servers, `may.ns.cloudflare.com` and `simon.ns.cloudflare.com`: the domain's DNS is hosted on Cloudflare. NS records have a long TTL here (21,600 seconds, six hours), as the `raw` answer shows.

## Request

| Parameter | In | Value |
|---|---|---|
| `domain` | query | `deepinfo.com` |
| `type` | query | `NS` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/dns?domain=deepinfo.com&type=NS' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json` · `ratelimit-limit: 100000` · `ratelimit-remaining: 99996` · `ratelimit-reset: 40` · `x-ratelimit-limit-minute: 100000` · `x-ratelimit-remaining-minute: 99996` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "fqdn": "deepinfo.com",
  "requested_types": [
    "NS"
  ],
  "responses": [
    {
      "type": "NS",
      "conn_status": "success",
      "rcode": "NOERROR",
      "raw": "deepinfo.com. 21600 IN NS simon.ns.cloudflare.com.\ndeepinfo.com. 21600 IN NS may.ns.cloudflare.com.",
      "values": [
        "may.ns.cloudflare.com",
        "simon.ns.cloudflare.com"
      ],
      "server": "8.8.8.8"
    }
  ],
  "servers": [
    "8.8.8.8"
  ],
  "check_date": "2026-09-24T07:48:20Z"
}
```

## Related Examples

- [TXT Records](/reference/lookup/dns/examples/type-txt/)
- [A Records of a Domain](/reference/lookup/dns/examples/type-a/)
- [SOA Record: Zone Authority](/reference/lookup/dns/examples/type-soa/)
- [Mail Setup: MX and TXT](/reference/lookup/dns/examples/types-mx-txt/)
- [Five Types at Once](/reference/lookup/dns/examples/five-types/)
- [MX Records: Mail Servers](/reference/lookup/dns/examples/type-mx/)
