Update Network Dns Settings
Update the DNS settings.
The DNS settings to be updated.
Show optional properties
{
"mode": "string"
}
{
"mode": "string",
"hostname": "string",
"servers": [
{}
]
}
mode
hostname
Servers to be used for STATIC mode. Value ignored when DHCP mode.
The DNS settings are updated.
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"mode:"string"}' https://{api_host}/appliance/settings/network/dns