MojoDns
  • Getting Started
  • Billing FAQ
  • API Documention
    • Get DNS Record
    • Rate Limiting (Error 429)
  • Legal
    • Terms & Conditions
    • MojoDns Privacy Policy
    • Contact
Powered by GitBook
On this page

Was this helpful?

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

Name
Type
Description

domain

string

Domain or hostname you are looking up

recordtype

string

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

Headers

Name
Type
Description

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

NextBilling FAQ

Last updated 6 years ago

Was this helpful?