---
title: Batch DNS Lookups
slug: batch-dns-lookups
url: https://apyverse.com/apyhub/service/batch-dns-lookups
provider: ApyHub
categories: [Developer Tools, Standard Data]
tags: [dns, dns-lookup, reverse-dns, mx-records, domain-resolution, network-tools]
auth: api_key
---

# Batch DNS Lookups

Resolve up to 25 hosts per request with A, AAAA, MX, NS, TXT, CNAME, or PTR queries. Get per-row DNS status and record data.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Performs up to 25 DNS lookups in a single request. You send a list of query objects wi… | 10 |

## About

## What it does
Batch DNS Lookups lets you resolve up to 25 hosts in one request and get DNS answers back in a single response. Send a `queries` array with each item containing a `host` and an optional `type` of `A`, `AAAA`, `MX`, `NS`, `TXT`, `CNAME`, or `PTR`.

Each result includes the queried `host`, the record `type`, and a `status` of `OK`, `NXDOMAIN`, `NODATA`, or `ERROR`. Depending on the record type, the response may also include `addresses` for `A` and `AAAA`, `mx` records with `preference` and `exchange`, `names` for `NS` or `CNAME`, `txt` strings, or `ptr` targets. When a row fails, `error` is returned for that row.

Use Batch DNS Lookups when you need to verify domains, inspect mail routing, or check reverse DNS at scale. It fits domain onboarding flows, infrastructure audits, and bulk asset checks where you want to reduce resolver round trips and keep DNS results aligned by input row.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/batch-dns-lookups
