Code edits required to support a new class.
Description
When adding a new class - a rare occurance but one I encountered - you are required to add a new case statement to the function dns_rdataclass_fromtext in lib/dns/rcode.c of the form
case 'e':
COMPARE("exclass", dns_rdataclass_exclass);
break;
This is un-documented, limited to 26 characters of which 5 are already taken and prohibits generic builds in line with the design objectives on BIND9
However I do not the comment at the start of the code
/*
* This uses lots of hard coded values, but how often do we actually
* add classes?
*/
Request
A generic solution that does not require the code to be edited when generating a new build.