From 813876b20353b7d000320f2d9c6b67ec5236f910 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 9 Apr 2021 12:45:30 +0200 Subject: [PATCH] dnsdist docs: mention the default pool in a few places --- pdns/dnsdistdist/docs/guides/serverpools.rst | 1 + pdns/dnsdistdist/docs/reference/config.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/pdns/dnsdistdist/docs/guides/serverpools.rst b/pdns/dnsdistdist/docs/guides/serverpools.rst index dd2c2962f3..18790ed4f3 100644 --- a/pdns/dnsdistdist/docs/guides/serverpools.rst +++ b/pdns/dnsdistdist/docs/guides/serverpools.rst @@ -2,6 +2,7 @@ Server pools ------------ dnsdist has the concept to "server pools", any number of servers can belong to a group. +A default pool, identified by the empty string ``''`` is always present, and `newServer` without a pool argument will assign the new server to that pool. Let's say we know we're getting a whole bunch of traffic for a domain used in DoS attacks, for example 'example.com'. We can do two things with this kind of traffic. diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 2428de9306..cbd8a06370 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -670,6 +670,7 @@ Pools :class:`Server`\ s can be part of any number of pools. Pools are automatically created when a server is added to a pool (with :func:`newServer`), or can be manually created with :func:`getPool`. +Servers that are not assigned to a specific pool get assigned to the default pool that is always present, identified by the empty string ``''``. .. function:: getPool(name) -> ServerPool -- 2.47.2