latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

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

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
  }
}