RPZ and map format BIND 9.16, segmentation fault

Ron Vachiyer ronvachiyer at gmail.com
Sat Jul 3 18:30:29 UTC 2021


Hello,

I am using BIND 9.16 as shipped with Ubuntu 20.04 LTS

named -v
BIND 9.16.1-Ubuntu (Stable Release) <id:d497c32>

I was under the impression that using map format with this version was
possible now.  And I am actually able to create a map file and load a RPZ
zone as a master using a map format, this seems to work.

However, if I issue a simple rndc reload command, I see this log:

zone 'my.rpz': incompatible masterfile-format or database for a response
policy zone
reloading configuration failed: not implemented

and worse, if I update the textfile, change the serial, and rndc reload, I
get a segmentation fault;

Jul  3 16:06:24 pihole named[5543]: received control channel command
'reload my.rpz'
Jul  3 16:06:24 pihole named[5543]: rpz: my.rpz: reload start
Jul  3 16:06:24 pihole kernel: [45020.530875] show_signal_msg: 21 callbacks
suppressed
Jul  3 16:06:24 pihole kernel: [45020.530887] isc-worker0000[5555]:
segfault at 1173d0 ip 00007f4f8b01aee3 sp 00007f4f8728c310 error 4 in
libdns.so.1601.0.0[7f4f8af86000+185000]
Jul  3 16:06:24 pihole kernel: [45020.530923] Code: c1 e6 10 41 83 ce 2e 66
45 85 c0 41 0f 44 fe 48 85 c9 0f 84 5a 05 00 00 45 31 c0 45 31 f6 66 0f 1f
84 00 00 00 00 00 48 89 c8 <48> 8b 49 28 66 0f 1f 84 00 00 00 00 00 39 18
77 0d 0f b7 50 0c f6

my zone is declared as:

zone "my.rpz" {
        type master;
        masterfile-format map;
        file "/var/lib/bind/my.rpz.map";
        allow-query { localhost; };
        allow-update { none; };
};

Is it possible to confirm that this is supposed to work in BIND 9.16?

Thanks in advance,

Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210703/ea5fc806/attachment.htm>


More information about the bind-users mailing list