<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi there<div class=""><br class=""></div><div class="">Whilst there is some documentation on adding a new type, there is less on adding a new class</div><div class=""><br class=""></div><div class="">I want to add a class PAY. To this end I have created a directory under data as pay_65280 and added the appropriate files in this directory</div><div class=""><br class=""></div><div class="">Part 1 - Possible Bug</div><div class=""><br class=""></div><div class="">The choice of 65280 is covered by RFC6895 - <a href="https://tools.ietf.org/html/rfc6895#page-11" class="">https://tools.ietf.org/html/rfc6895#page-11</a> - as a private class number</div><div class="">Bind9 fails to build this because the line for pay_65280 comes after the any_255 line in ./lib/dns/include/dns/enumclass.h and is therefore missing a comma.</div><div class=""><br class=""></div><div class="">This all works if I rename it to pay_253 - which is not RFC compliant but at least moves me on.</div><div class=""><br class=""></div><div class="">Part 2 - Possible developer fail</div><div class=""><br class=""></div><div class="">The code now complies cleanly (we tested the code previously in class IN_1 to break the problem down into smaller chunks, but then made the approrpaiet class changes and moved it into the new directory)</div><div class=""><br class=""></div><div class="">Starting with named -g gets</div><div class=""><br class=""></div><div class=""><div class="">02-Jan-2020 14:44:43.745 <a href="http://db.example.com:26" class="">db.example.com:26</a>: unknown RR type 'PAY'</div><div class="">02-Jan-2020 14:44:43.745 zone <a href="http://example.com/IN:" class="">example.com/IN:</a> loading from master file <a href="http://db.example.com" class="">db.example.com</a> failed: unknown class/type</div><div class="">02-Jan-2020 14:44:43.745 zone <a href="http://example.com/IN:" class="">example.com/IN:</a> not loaded due to errors.</div></div><div class=""><br class=""></div><div class="">This implies there is somewhere else that PAY needs to e added for this to work</div><div class=""><br class=""></div><div class="">Any suggestions where to look please?</div></body></html>