Loading API DOCS...

Host DNS Checker

Check any host DNS record full information with this API.

Endpoint

GET https://api.lmnx9.shop/check-host/dns.php?host=

Code Examples

cURL
curl -X GET "https://api.lmnx9.shop/check-host/dns.php?host=" -H "Content-Type: application/json"
JavaScript
fetch("https://api.lmnx9.shop/check-host/dns.php?host=")
  .then(function(r){return r.json()})
  .then(function(d){console.log(d)});
Python
import requests
r = requests.get("https://api.lmnx9.shop/check-host/dns.php?host=")
print(r.json())
PHP
<?php
$d = file_get_contents("https://api.lmnx9.shop/check-host/dns.php?host=");
print_r(json_decode($d, true));

Example Response

{
    "status": true,
    "type": "dns",
    "host": "google.com",
    "total_records": 21,
    "dns_types": {
        "A": 1,
        "AAAA": 1,
        "MX": 1,
        "NS": 4,
        "TXT": 13,
        "SOA": 1
    },
    "results": [
        {
            "type": "A",
            "value": ": 142.251.38.78"
        },
        {
            "type": "AAAA",
            "value": ": 2a00:1450:4026:800::200e"
        },
        {
            "type": "MX",
            "value": ": 10 smtp.google.com."
        },
        {
            "type": "NS",
            "value": ": ns4.google.com."
        },
        {
            "type": "NS",
            "value": ": ns3.google.com."
        },
        {
            "type": "NS",
            "value": ": ns1.google.com."
        },
        {
            "type": "NS",
            "value": ": ns2.google.com."
        },
        {
            "type": "TXT",
            "value": ": onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"
        },
        {
            "type": "TXT",
            "value": ": docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
        },
        {
            "type": "TXT",
            "value": ": onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"
        },
        {
            "type": "TXT",
            "value": ": facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
        },
        {
            "type": "TXT",
            "value": ": MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
        },
        {
            "type": "TXT",
            "value": ": docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
        },
        {
            "type": "TXT",
            "value": ": apple-domain-verification=30afIBcvSuDV2PLX"
        },
        {
            "type": "TXT",
            "value": ": google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
        },
        {
            "type": "TXT",
            "value": ": v=spf1 include:_spf.google.com ~all"
        },
        {
            "type": "TXT",
            "value": ": cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"
        },
        {
            "type": "TXT",
            "value": ": google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"
        },
        {
            "type": "TXT",
            "value": ": google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
        },
        {
            "type": "TXT",
            "value": ": globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
        },
        {
            "type": "SOA",
            "value": ": ns1.google.com. dns-admin.google.com. 921356657 900 900 1800 60"
        }
    ],
    "developer": "DARK LMNx9",
    "telegram": "t.me/x_LMNx9"
}