Change DNS Servers
Change DNS Servers¶
Updates the primary and/or secondary DNS servers that all clients will use. Changes are instantly reflected across all client configurations.
Parameters:
| Parameter | Required | Description |
|---|---|---|
primary |
No | Primary DNS server IP |
secondary |
No | Secondary DNS server IP |
Note
At least one parameter must be provided. Omitted parameters retain their current values.
Response Model: ChangeDNSResult
| Field | Type | Description |
|---|---|---|
success |
boolean | Operation completed |
dns_servers.primary |
string | New primary DNS server |
dns_servers.secondary |
string | New secondary DNS server |
dns_servers.previous_primary |
string | Previous primary DNS server |
dns_servers.previous_secondary |
string | Previous secondary DNS server |
client_configs_updated.success |
boolean | Client configs updated successfully |
client_configs_updated.message |
string | Update status message |