]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove rrset-order cyclic from the default config, with shim
authorAlessio Podda <alessio@isc.org>
Tue, 23 Dec 2025 15:38:53 +0000 (16:38 +0100)
committerAlessio Podda <alessio@isc.org>
Thu, 8 Jan 2026 13:43:04 +0000 (14:43 +0100)
commit78588981df29309e4d7682d3355fefbbfba9f0c1
tree263173197a34ac4fe3a7f1a552cc63e326ddda6a
parent76e23a7945553833f1a57f4981d36ccec3ec416d
Remove rrset-order cyclic from the default config, with shim

Currently we add an rrset-order cyclic statement to the default config.
Since the rrset-order allows matching a subset of all names, it must
be implemented with a string comparison against a wildcard, and since
the statement applies per rrset, this can result in millions of
comparisons per second on a busy authoritative server.

This commit removes rrset-order from the default config, but adds back
a code shim in query_setorder to preserve the previous behaviour.
bin/include/defaultconfig.h
bin/named/server.c
lib/ns/query.c