c++ - BIND DNS servers crash when setting root-delegation-only without exclude option -
i think it's bug in bind. happens on both bind dns 9.9.x , 9.10.x.
if set root-delegation-only
without exclude opntion named.conf
, named cannot start.
named.conf example:
controls { inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; }; }; key "rndc-key" { algorithm "hmac-md5"; secret "mtizndu2"; }; options { directory "c:\named"; root-delegation-only; #root-delegation-only exclude { "com"; "net"; }; };
run named
named.exe -c c:\named\named.conf -g
named crashes errors:
23-jul-2015 18:47:22.280 set managed keys zone view _default, file 'managed-keys.bind' 23-jul-2015 18:47:22.280 ..\parser.c:1167: require(obj == ((void *)0) || obj->type->rep == &cfg_rep_list) failed 23-jul-2015 18:47:22.280 exiting (due assertion failure)
it works if add exclude option:
root-delegation-only exclude { "com"; "net"; };
it is bug in bind. it's known bug, , fix has been coded , included in next regularly-scheduled releases of bind (i.e. bind 9.9.8 , bind 9.10.3.)
4112. [bug] named failed load when "root-delegation-only" used without list of domains exclude. [rt #39380]
development (beta) releases include change should available in late august or in september (2015), since know bug number (39380) , change number (4112) can retrieve diff isc's source repository if wish. here's a link gitweb interface, or can use command-line git tools if prefer.
Comments
Post a Comment