Examples
https://api.dns0.eu/rrsets?name=.dsp2-secure.fr
https://api.dns0.eu/rrsets?data=159.100.30.41
Base URL
Parameters
Find records by matching the name component (left-hand side).Accepted values:
domain.com
returns records fordomain.com
.domain.com
returns records fordomain.com
and all its subdomains
Find records by matching the data component (right-hand side).Accepted values:
159.100.30.41
returns records that point to this IP address159.100.30.0/24
returns records that point to any IP addresses from this CIDRdomain.com
returns records that point todomain.com
.domain.com
returns records that point todomain.com
or any of its subdomains~spf=
returns TXT records that containsspf=
hostmaster@example.com
returns SOA records with this email address for RNAME*@example.com
returns SOA records with any email address on theexample.com
domain for RNAME
Limit results to certain record types (e.g.
type=NS,A,AAAA
). Accepts a
comma-separated list of DNS record types, either in textual or numeric form.Limit results to records seen after this date (e.g.
from=2022-01-01
). Also
accepts UNIX timestamp and relative times (e.g. from=-1M
for a month ago).Limit results to records seen before this date (e.g.
to=2023-03-13
). Also
accepts UNIX timestamp and relative times (e.g. to=-1M
for a month ago).Limit results to records not seen before this date (e.g.
not_before=2023-07-01
). Also accepts UNIX timestamp and relative times (e.g.
not_before=-1M
for a month ago).Available sorts are
first_seen
(the default) or last_seen
. Both are
descending sorts (most recent first).Available formats are
json
, cof
(see Common Output
Format)
or dig
. Default format is based on the Accept
HTTP header.Limit the number of results (e.g.
limit=10000
). Defaults to 100
, and up to
50000
.Used for pagination. Defaults to
0
.