This function retrieves the default nameservers for the currently-authenticated user.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_nameserver_config
{- "data": {
- "nameservers": [
- "ns1.example.com",
- "ns2.example.com"
]
}, - "metadata": {
- "command": "get_nameserver_config",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}