public
GET /v1/public/domains/nameserver-check
Which registrar holds a domain, what to enter, and whether it has taken effect.
توثيقِ شناخت
یہ اینڈ پوائنٹ عوامی ہے۔ یہ کوئی اسناد اور کوئی تنظیم نہیں لیتا — یہ وہ ہے جسے ہماری اپنی مارکیٹنگ سائٹ اور AI کے جواب دینے والے انجن پڑھتے ہیں۔
یہ اینڈ پوائنٹ کوئی آرگنائزیشن آئی ڈی نہیں لیتا۔ آپ کی کلید پہلے ہی اس آرگنائزیشن کی شناخت کرتی ہے جس سے یہ تعلق رکھتی ہے، اور اس کا جواب اسی کے مطابق محدود ہوتا ہے۔
آزمائیں
کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔
curl -X GET https://api.zinndigital.com/v1/public/domains/nameserver-check?domain=<domain>لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو API پر درخواست چلاتا ہے تاکہ آپ اصل ردعمل دیکھ سکیں۔ اس اینڈ پوائنٹ کو API کنسول میں کھولیں
تفصیلات
Everything a per-registrar instruction card needs, for **any** domain, with no account. It answers three questions in one request: who the registry says holds the name (so the right instruction card is shown), which nameservers to enter, and whether the change has landed yet. **`outcome` is four-valued and none of the four may be collapsed.** `delegated` — public DNS resolves the domain to our pair, the job is done. `propagating` — the registry has our pair on record and public DNS does not show it yet; the customer did everything right and there is nothing to do but wait. `not_delegated` — a real, positive reading that it points somewhere else, or nowhere. `unknown` — we could not find out. ⛔ A client must never render `unknown` as `not_delegated`, and must never render `propagating` as a failure. Both mistakes send somebody who succeeded back to redo work that was correct, which is the single most likely way to make this feature feel broken while it is working perfectly. `expected` is **derived per request** from the platform's own nameserver assignment, never written into card content. `observed` is what the domain points at right now — public DNS where it answered, the registry's record otherwise — and is empty when the reading was positive and there was nothing there. **Rate limited per caller and globally.** Answers are cached for sixty seconds only: this endpoint's whole population is somebody who has just changed their nameservers and is reloading to check, so a long cache would hide the very change it is asked about. There is deliberately no bulk input.
پیرامیٹرز
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
domain (query) | string | ہاں | The domain to check, including its extension. A trailing dot is ignored, case is ignored, and an internationalised name must already be punycoded. |
جواب
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
fqdn | string | ہاں | The domain as we normalised it — lower-cased, trailing dot removed. |
slug | string<godaddy, namecheap, porkbun, cloudflare, squarespace, generic> | ہاں | Which instruction set to render. ⛔ A slug, never step text — the client supplies its own localized steps, because step text returned from an API cannot go through the translatio… |
registrar | string | ہاں | The registrar exactly as the registry names it, or `null` when none was published. ⛔ Never inferred from `slug`. |
panel_url | string | ہاں | A deep link into that registrar's own nameserver screen, where known. |
self_serve | boolean | ہاں | Can we make the change for the customer with an API key they supply? Derived from which delegation adapters exist, never stated per registrar. |
locked | boolean | ہاں | The domain cannot be delegated anywhere else — true for Cloudflare Registrar, whose domains use Cloudflare's nameservers by design. ⛔ This is a STATE, not a failure, and it is n… |
expected | string[] | ہاں | The nameservers to enter at the registrar. ⛔ Derived per request from the platform's own assignment, never written into card content — a hostname typed into a page is correct on… |
observed | string[] | ہاں | What the domain points at right now — public DNS where it answered, the registry's record otherwise. Empty means the reading was positive and there was nothing there; it does **… |
outcome | string<delegated, propagating, not_delegated, unknown> | ہاں | What we established. `delegated` = done. `propagating` = the registry has our pair and DNS has not caught up; the customer did it right and must simply wait. `not_delegated` = a… |
recheck_after_seconds | integer | ہاں | Roughly how long to wait before checking again, or `null` when there is nothing to wait for. A hint about our own interface, not a claim about DNS propagation. |
وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے
422 · 429 · 503