]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Do not assert on synthrecord reverse mode with huge prefix
authorColin Vidal <colin@isc.org>
Thu, 4 Jun 2026 11:53:39 +0000 (13:53 +0200)
committerColin Vidal <colin@isc.org>
Thu, 4 Jun 2026 11:53:39 +0000 (13:53 +0200)
When using the `synthrecord` plugin in reverse mode, if a very long
prefix is configured by the operator such that there is no room to fit
the reversed IP address into a DNS name, `named` could assert. This has
now been fixed. In such situations, an error is logged so the operator
is aware of the problem, and `NXDOMAIN` is answered.

Closes #6115

Merge branch '6115-synthrecord-prefix' into 'main'

See merge request isc-projects/bind9!12173


Trivial merge