Function   /domain/ns/set

Function invocation

https://json.aftermarket.pl/domain/ns/set

Function description

Set pointing name servers for domain Nameservers allowed to use: - existing DNS from external domain ex. ns1.aftermarket.pl, ns2.aftermarket.pl - existing DNS from $name - non existing DNS from $name with $ips provided.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
domain string "" Domain name (deprecated, please use 'name' parameter)
name string YES Domain name
ns string[] YES Nameservers
ips string[] [] Optional ip address for nameservers. If IP for nameserver is already set then this parameter will be ignored.

Return value

Operation result (boolean value).