DNS Lookup API
Dokumentasi resmi DNS Lookup API dari Maelyn API untuk record DNS (A, MX, TXT, NS, dan lainnya) via DNS-over-HTTPS
Base Information
- BASE_URL_API:
https://api.maelyn.eu/api - Path / Endpoint:
/tools/dns - Method:
GET - Credit Usage:
1
Authentication
Gunakan header berikut pada setiap request:
x-maelyn-auth: YOUR_API_KEY
Query Parameters
Example Request
GET /tools/dns?domain=google.com&type=A
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Nama domain valid. |
type | string | No | A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, CAA (default: A). |
Example Usage
GET /tools/dns?domain=google.com&type=MX
Success Response
{
"success": true,
"data": {
"domain": "google.com",
"type": "A",
"answers": [
{ "name": "google.com.", "type": 1, "TTL": 13, "data": "74.125.200.139" },
{ "name": "google.com.", "type": 1, "TTL": 13, "data": "74.125.200.138" }
]
}
}