Limit

ZDNS supports the following DNS record types: A, AAAA, CNAME, MX, TXT, PTR, SRV.

Record Type Descriptions

Record Type
Description
Host Record Format
Value Format Requirements

A Record

Maps a domain name to an IPv4 address; supports wildcard entries.

Domain prefix

IPv4 address in dotted-decimal format (e.g., 192.168.1.2). Multiple entries supported with optional weights.

AAAA Record

Maps a domain name to an IPv6 address; supports wildcard entries.

Domain prefix

IPv6 address (e.g., ff03:0:0:0:0:0:0:c1). Multiple entries supported with optional weights.

CNAME Record

Maps a domain name to another domain name, inheriting its resolution result.

Domain prefix

Domain format (e.g., abc.example.com).

MX Record

Specifies the mail server responsible for receiving emails.

Domain prefix

Domain format (e.g., abc.example.com).

TXT Record

Stores arbitrary text, commonly used for verification (e.g., SPF anti-spam checks).

Domain prefix

String format; allowed characters include letters, digits, and *?-_~=:;.@+^/!”.

SRV Record

Defines service records specifying which server provides a service.

Typically _<service>._<protocol> (e.g., _sip._tcp)

Format: [priority] [weight] [port] [target], each 0–65535, separated by spaces. Example: 0 5 5060 sipserver.example.com.

PTR Record

Enables reverse DNS lookup (IP → domain name).

For IPv4, typically a number from 0–255

Domain format (e.g., abc.example.com). Example: For 192.168.0.1/24, the zone name is 0.168.192.in-addr.arpa, with record 5 -> abc.example.com, meaning a query for 192.168.0.5 returns that domain.

Last updated