From 77ade8471cf977aefd97a7cb3b2140e682f6b678 Mon Sep 17 00:00:00 2001 From: Tim Hofmann Date: Mon, 8 Apr 2024 11:17:30 +0200 Subject: [PATCH] fix #50 (update doc) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c97c73d..2b40f07 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ To use your own/custom upstream DNS Server you have to do the following: - Use the [DNSDist Documentation](https://dnsdist.org/reference/config.html#newServer) to create you own upstream pool. Example: ``` - newServer("192.0.2.1", name="custom1", pool="customUpstream") - newServer("192.0.2.2", name="custom2", pool="customUpstream") + newServer({address="192.0.2.1", name="custom1", pool="customUpstream"}) + newServer({address="192.0.2.2", name="custom2", pool="customUpstream"}) ``` - Ensure you have set a `pool` and it is **NOT** named `upstream` (this name is already used by sniDust itself) - Set Environment Variable `DNSDIST_UPSTREAM_POOL_NAME` to your pool name *(here: `customUpstream`)*