/network/set-dns

Use the interface to set DNS.

Request Mode

POST /api/network/set-dns
Parameter Description
is-manual Whether to set DNS manually
dns1 DNS
Null character indicates that it is not set.
dns2 DNS
Null character indicates that it is not set.

Response Body

{
  "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""