Getting Started

get
Get DNS Record

https://api.mojodns.com/api/dns/:domain/:recordtype
This endpoint allows you to get free dns record lookups.
Request
Response
Path Parameters
domain
required
string
Domain or hostname you are looking up
recordtype
required
string
Type of DNS record (e.g. a, mx, dn, etc)
Headers
Authentication
required
string
Authentication token
200: OK
Cake successfully retrieved.
{
"authoritativeAnswer": true,
"isTimeout": false,
"responseCode": "NO_ERROR",
"answerResourceRecords": [
{
"address": 584628317,
"ipAddress": "93.184.216.34",
"dnsName": "example.com",
"resourceType": 1,
"resourceTypeName": "A",
"resourceClass": 1,
"resourceClassName": "IN",
"timeInterval": 86400,
"md5_Checksum": "WufwLv/ofmpKtyXO6X+n2A=="
}
],
"reportingNameServer": "a.iana-servers.net"
}
429: Too Many Requests