---
title: "Test upstream configuration"
method: POST
path: "/test_upstream_dns"
tags: ["global"]
---

# Test upstream configuration

`POST /test_upstream_dns`

## Request body

- UpstreamsConfig — Upstreams configuration
  - `bootstrap_dns` string[], required — Bootstrap servers, port is optional after colon. Empty value will reset it to default values.
  - `upstream_dns` string[], required — Upstream servers, port is optional after colon. Empty value will reset it to default values.
  - `private_upstream` string[] — Local PTR resolvers, port is optional after colon. Empty value will reset it to default values.

## Response `200`

Status of testing each requested server, with "OK" meaning that server works, any other text means an error.

- UpstreamsConfigResponse — Upstreams configuration response

---

[API](https://skmtc.net/guardllamanet/apis/adguard-home.md) · [All operations](https://skmtc.net/guardllamanet/apis/adguard-home/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guardllamanet/adguard-home/versions/14ff21aeb363/schema)
