Get DNS Record

Get DNS Record

GET https://api.mojodns.com/api/v1/:domain/:type

This endpoint allows you to get query a DNS records. Example: https://api.mojodns.com/api/v1/example.com/mx

Path Parameters

Name
Type
Description

type

string

Type of DNS record you want. (e.g. mx, a, ns, etc.)

domain

string

Domain or hostname you are looking up

Headers

Name
Type
Description

Authentication

string

Authentication token

{
    "name": "Cake's name",
    "recipe": "Cake's recipe name",
    "cake": "Binary cake"
}

Last updated