This function sets the nameserver software that the remote servers in a DNS cluster run. The system queues the nameserver software that you select until the HTTP request finishes. Then, it sets the remote servers' nameserver software.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ set_nameserver \ nameserver='BIND'
{- "data": {
- "message": "Queued task to set nameserver to bind successfully.",
- "nameserver": "bind"
}, - "metadata": {
- "command": "set_nameserver",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}