ANY Record

Any (QTYPE 255)

Type code
255 (listed by IANA as *)
Status
Query or pseudo-record type, never stored in a zone
Defined in
RFC 1035

What the ANY record is for

ANY is a query type only; no record has type ANY. RFC 1035 calls it "a request for all records", but a server only ever returned what it had to hand: a recursive resolver answers from its cache, which may hold only some of the types at that name.

Because one small ANY query could produce a very large answer, ANY was widely used for reflection and amplification attacks. RFC 8482 lets servers answer with one RRset or a small subset, or with a single synthesized HINFO record whose CPU field is "RFC8482". It notes that ANY does not always mean ALL, and a server may give a full answer over TCP while minimising answers over UDP.

To find out what records a name has, query each type you care about.

Wire format and fields

ANY has no record data of its own to store in a zone.

Example

The ANY records at cloudflare.com, fetched from live DNS on 27 November 2026:

cloudflare.com. 3600 IN HINFO "RFC8482" ""
cloudflare.com. 3600 IN RRSIG HINFO 13 2 3600 20261128122423 20261126102423 34505 cloudflare.com. ZTLlx7xht64FAfj0rSeKB+wy…

The answer to dig cloudflare.com ANY: a synthesized RFC 8482 HINFO record and its signature (truncated), not cloudflare.com's real records.

Common mistakes

  • Using ANY to list every record at a name. Servers that follow RFC 8482, and resolvers answering from cache, return only some of them.
  • Software that depends on an ANY answer to find A, AAAA or MX records. Query those types directly.
  • Treating the HINFO "RFC8482" answer as a real HINFO record or a server fault. It is the documented minimal response.
  • Answering ANY over UDP in full on an authoritative server. Large ANY responses are a common amplification vector, which is why RFC 8482 exists.

Specifications

Related record types

Domain Intelligence APIs

Get started with our easy-to-use API docs.