From: Vladimír Čunát Date: Mon, 30 May 2022 09:53:56 +0000 (+0200) Subject: renumber: document additions from the parent commit X-Git-Tag: v5.5.1~9^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72405ed0f71cbdc2ee9f127117fb3780f5bea9ef;p=thirdparty%2Fknot-resolver.git renumber: document additions from the parent commit --- diff --git a/NEWS b/NEWS index 35e3378c1..5541f924e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ Improvements ------------ - daemon/tls: disable TLS resumption via tickets for TLS <= 1.2 (#742, !1295) - daemon/http: DoH now responds with proper HTTP codes (#728, !1279) +- renumber module: allow rewriting subnet to a single IP (!1302) Bugfixes -------- diff --git a/modules/renumber/README.rst b/modules/renumber/README.rst index b3cfc23e7..a41ceb032 100644 --- a/modules/renumber/README.rst +++ b/modules/renumber/README.rst @@ -28,6 +28,10 @@ Example configuration -- Source subnet, destination subnet {'10.10.10.0/24', '192.168.1.0'}, -- Remap /16 block to localhost address range - {'166.66.0.0/16', '127.0.0.0'} + {'166.66.0.0/16', '127.0.0.0'}, + -- Remap a /32 block to a single address + {'2001:db8::/32', '::1!'}, } } + +.. TODO: renumber.name() hangs in vacuum, kind of. No occurrences in code or docs, and probably bad UX.