Look up DNS records
curl --request GET \
--url https://my.server.express/api/v1/public/dnsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/dns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/dns"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"name": "<string>",
"answers": [
{
"type": "A",
"records": [
"<string>"
],
"empty": true
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Public Tools
Look up DNS records
Resolves one record type, or with no type the everyday set (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA). A type with no records comes back empty rather than as an error; 404 only when every type is empty. IP addresses are refused — pass a domain. Limited to 30 requests per minute per IP.
GET
/
v1
/
public
/
dns
Look up DNS records
curl --request GET \
--url https://my.server.express/api/v1/public/dnsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/dns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/dns"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"name": "<string>",
"answers": [
{
"type": "A",
"records": [
"<string>"
],
"empty": true
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}