]> git.ipfire.org Git - thirdparty/bind9.git/commit
add dns_message API to add EDNS options
authorEvan Hunt <each@isc.org>
Wed, 19 Nov 2025 07:29:12 +0000 (23:29 -0800)
committerEvan Hunt <each@isc.org>
Fri, 21 Nov 2025 19:13:18 +0000 (11:13 -0800)
commit2d3439ee028d48f0ede358e6e6477ff2da7c6216
treebedf00d32a764c811c050378796ccbde380fa78b
parent8750a685f92855167704dd6dc3f72cf61caefcf3
add dns_message API to add EDNS options

The new dns_message_ednsinit() and dns_message_ednsaddopt() functions
allow EDNS options to be added to a message one at a time; it is no
longer necessary to construct a full array of EDNS options and set
them all at once.

This allows us to simplify EDNS option handling code, and in the
future it wlil allow plugins to add EDNS options to existing
messages.
14 files changed:
bin/delv/delv.c
bin/dig/dighost.c
bin/dig/nslookup.c
bin/nsupdate/nsupdate.c
bin/tools/mdig.c
lib/dns/ede.c
lib/dns/include/dns/ede.h
lib/dns/include/dns/message.h
lib/dns/message.c
lib/dns/rdata.c
lib/dns/resolver.c
lib/dns/xfrin.c
lib/dns/zone.c
lib/ns/client.c