]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add method to set extended DNS error
authorMatthijs Mekking <matthijs@isc.org>
Sat, 6 Mar 2021 14:43:00 +0000 (15:43 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 19 Nov 2021 08:44:28 +0000 (09:44 +0100)
commit6c8fc2f4f02b175fae15dd031a526c3fd332baca
treeb738950407f59178df7d39a75abadc1190078195
parent36503721f2c8e46d36a745ac3808534f825a438d
Add method to set extended DNS error

Add a new parameter to 'ns_client_t' to store potential extended DNS
error. Reset when the client request ends, or is put back.

Add defines for all well-known info-codes.

Update the number of DNS_EDNSOPTIONS that we are willing to set.

Create a new function to set the extended error for a client reply.
lib/dns/include/dns/message.h
lib/ns/client.c
lib/ns/include/ns/client.h