Skip to content

List accepted nameserver sets

GET
/domains/ns-sets
curl --request GET \
--url https://api.nsin.ir/domains/ns-sets \
--header 'Authorization: Bearer <token>'

The nameserver sets a managed domain’s delegation may match. The delegation must match exactly one set in full — nameservers from different sets cannot be mixed. The first set is the one shown in the panel and is the recommended choice.

Accepted nameserver sets.

Media type application/json
object
sets

Each entry is one complete, acceptable nameserver set.

Array<Array<string>>
Example
{
"sets": [
[
"th.ns.nsin.ir",
"ny.ns.nsin.ir",
"eu.ns.nsin.ir"
]
]
}

Missing, malformed, revoked or expired API key — or the owning account is inactive.

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

The key exceeded its request budget (300 requests per minute by default).

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example limited
{
"error": "rate limit exceeded"
}