Function   /settings/dns/set

Function invocation

https://json.aftermarket.pl/settings/dns/set

Function description

Set user default name servers.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
default_dns_reg string Symbol of predefined name servers for catched/registred domains (D, S, N, B) (deprecated and unused)
default_dns_tasted string Symbol of predefined name servers for tasted domains (Q, D, S, N, B) (deprecated and unused)
ns1 string YES First default DNS
ns2 string YES Second default DNS
ns3 string "" Third default DNS
ns4 string "" Fourth default DNS

Return value

Operation result (boolean value).