API — Fetch DNS Records
GET /api.php?domain=helloabc.useless
Returns JSON:
{
"domain": "helloabc.useless",
"records": [
{"type":"A","name":"@","value":"1.2.3.4","ttl":3600,"priority":null}
]
}
No authentication required — this is a public read-only lookup, just like real DNS.