]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
renumber: document additions from the parent commit
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 30 May 2022 09:53:56 +0000 (11:53 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 30 May 2022 10:03:49 +0000 (12:03 +0200)
NEWS
modules/renumber/README.rst

diff --git a/NEWS b/NEWS
index 35e3378c1c2c01f276272bbe09c72bf759fe3182..5541f924e45342cca2a962dd90b56a4b95ebfa7b 100644 (file)
--- 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
 --------
index b3cfc23e7db83c65776c17bd3588fabdb0168e00..a41ceb032e22d353b04dba25ea4c1da42a2ed591 100644 (file)
@@ -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.