From: Peter van Dijk Date: Fri, 9 Apr 2021 10:45:30 +0000 (+0200) Subject: dnsdist docs: mention the default pool in a few places X-Git-Tag: dnsdist-1.6.0-rc1~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10281%2Fhead;p=thirdparty%2Fpdns.git dnsdist docs: mention the default pool in a few places --- 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