DNS
Resolvers

Create unbound DNS resolver

This function creates an Unbound (libunbound) DNS resolver configuration.

Important:

When you disable the DNS role, the system disables this function.

get/set_up_dns_resolver_workarounds

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "flags": {
      "do-ip6": "no",
      "do-udp": "no",
      "edns-buffer-size": "512"
    }
  },
  "metadata": {
    "command": "set_up_dns_resolver_workarounds",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.