hosting
GET /v1/sites/{siteId}/edge-domains/{hostname}/dns
What this domain actually resolves to right now.
ავტორიზაცია
API გასაღები გაგზავნეთ როგორც მატარებელი ტოკენი (bearer token). გასაღებს უნდა ჰქონდეს sites.view ნებართვა; ამის გარეშე გასაღები უარყოფილი იქნება 403 და არა 404 სტატუსით.
ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.
სცადეთ
შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/edge-domains/{hostname}/dns \
-H "Authorization: Bearer zdk_live_…"შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში
დეტალები
Resolves every wanted record from a public resolver and reports what came back. Writes no DNS. resolves and each check's observed are three-valued on purpose — null means the resolver did not answer, which is unknown and not no; rendering it as a failure puts a red mark on a working domain during a resolver hiccup. Requires sites.view.
პარამეტრები
| სახელი | ტიპი | სავალდებულო | რა არის ეს |
|---|---|---|---|
siteId (path) | Uuid | დიახ | Site ID (UUIDv7). |
hostname (path) | string | დიახ | The bound hostname, lower-cased and without a trailing dot. |
პასუხი
| სახელი | ტიპი | სავალდებულო | რა არის ეს |
|---|---|---|---|
hostname | string | დიახ | — |
mode | string<unknown, our_zone, byo_dns, nameservers, manual> | დიახ | — |
zone | string | დიახ | — |
vendor | string | დიახ | — |
detail | string | დიახ | — |
nameservers | string[] | დიახ | Populated only in nameservers mode — the zone is built and the records are in it, and setting these at the registrar is the one thing left to do. |
records | DnsRecordPlan[] | დიახ | — |
checks | DnsRecordCheck[] | დიახ | — |
resolves | boolean | დიახ | — |
შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს
401 · 403 · 404 · 429