Query a host / domain name for an A record
GET /query/a?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no A records.
Query a host / domain name for an AAAA record
GET /query/aaaa?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no AAAA records.
Query a host / domain name for an CNAME record
GET /query/cname?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no CNAME records.
Query a host / domain name for an TXT record
GET /query/txt?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no TXT records.
Query a host / domain name for an NS record
GET /query/ns?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no NS records.
Query a host / domain name for an MX record
GET /query/mx?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no MX records.
Query a host / domain name for an SRV record
GET /query/srv?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no SRV records.
Query a host / domain name for an SOA record
GET /query/soa?host=example.com
Parameters:
-host - Host / domain name to query
Returns HTTP 404 if there are no SOA records.
Query for several record types (of one host)
POST /query/bulk
{"host": "example.com", "recordTypes": ["all"]}
JSON Body Parameters:
-host - Host / domain name to query
- recordTypes - The types of records to query the host for. (Array)
The record types are the same as they are for the GET endpoints.
There is an additional record type: all. It simply returns all records.
Returns a bunch of empty arrays if there are no records.