List accepted nameserver sets
Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.
The nameserver sets a managed domain may be delegated to. The sets are parallel: each names the same NSIN nameserver nodes under a different hostname family. A delegation is accepted when it names every node — through any of that node's hostnames, so families may be mixed — and nothing that is not an NSIN nameserver. Naming one node twice (in two families) does not count for the missing one, and any third-party nameserver fails the check outright. The first set is the one shown in the panel and is the recommended choice.
Once the delegation passes, the zone's own apex NS records are
rewritten to match the names you actually delegated to.
Responses
200Accepted nameserver sets.
Content type: application/json
- setsarray of array of string
Each entry is one complete, acceptable nameserver set.
{
"sets": [
[
"th.ns.nsin.ir",
"ny.ns.nsin.ir",
"eu.ns.nsin.ir"
]
]
}401Missing, malformed, revoked or expired API key. (A valid key whose
account has been deactivated gets 403 account is inactive instead.)
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "invalid API key"
}429The key exceeded its request budget (300 requests per minute by default).
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "rate limit exceeded"
}Example request
curl -X GET "https://api.nsin.ir/domains/ns-sets" \
-H "Authorization: Bearer $NSIN_API_KEY"