/network/get-dns

Use the interface to get the DNS.

Request Mode

POST /api/network/get-dns

Response Body

{
    "is-manual": false,
    "dns1": "10.0.1.3",
    "dns2": "",
    "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.
is-manual Whether to set the DNS manually
dns1 DNS
Null character indicates that it is not set.
dns2 DNS
Null character indicates that it is not set.

results matching ""

    No results matching ""