Getting Started

Get DNS Record

GET https://api.mojodns.com/api/dns/:domain/:recordtype

This endpoint allows you to get free dns record lookups.

Path Parameters

NameTypeDescription

domain

string

Domain or hostname you are looking up

recordtype

string

Type of DNS record (e.g. a, mx, dn, etc)

Headers

NameTypeDescription

Authentication

string

Authentication token

{
    "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"
}

Last updated