bind9/bin/plugins
Colin Vidal a0da784993 add support for synthesized PTR answers
Add a BIND9 plugin which, in "reverse" mode, enables the server to build
a synthesized response to a PTR query when the PTR record requested is
not found in the zone. (The plugin won't be called for names below a
delegation point, because it couldn't know whether a name actually
exists within the delegation.)

The dynamically-built name is constructed from a static prefix (passed
as a plugin parameter), the IP address (extracted from the query name)
and a suffx (also passed as a plugin parameter).  An "allow-synth"
address-match list is used to limit the network addresses for which
the plugin may generate responses.

The plugin can also be used in "forward" mode, to build synthesized
A/AAAA records from names using the same format as he dynamically-built
PTR names, if the query name and type are not found in the zone.
The same parameters are used when the plugin is in forward mode:
the plugin will react and answer a query if the name matches the
configured prefix and origin, and encodes an IP address that is
within "allow-synth".
2025-10-01 12:16:05 +02:00
..
filter-a.c provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
filter-a.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
filter-aaaa.c provide a context structure for plugin_register() 2025-10-01 11:11:00 +02:00
filter-aaaa.rst clean up some deprecated/obsolete options and doc 2023-02-10 09:52:27 -08:00
meson.build add support for synthesized PTR answers 2025-10-01 12:16:05 +02:00
synthrecord.c add support for synthesized PTR answers 2025-10-01 12:16:05 +02:00