PFblockerNG -v3.0.0.11 error crashes unbound
-
Updated PFBlockerNG v3.0.0.11 and now resolver is failing to start with the following error.
The following input errors were detected:
The generated config file cannot be parsed by unbound. Please correct the following errors: [1614626597] unbound-checkconf[83478:0] error: error parsing local-data at 29 'zzzzzzzzzzzzz.com 60 IN AAAA ::/010.10.10.1': Conversion error, ip6 addr expected [1614626597] unbound-checkconf[83478:0] error: Bad local-data RR zzzzzzzzzzzzz.com 60 IN AAAA ::/010.10.10.1 [1614626597] unbound-checkconf[83478:0] fatal error: failed local-zone, local-data configuration
If I turn off PFBlokerNG everything work properly.
suggestion on how to fix?
-
@cjbujold
Turn off DNSBL IPv6 and Force Reload DNSBL, and will review asap. -
@cjbujold
Ok found the issueEdit file: /usr/local/pkg/pfblockerng/pfblockerng.inc
Reference:
https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L2489From:
$s_info6 = str_replace(' A ', ' AAAA ::/0', $s_info);
To:
$s_info6 = str_replace(' A ', ' AAAA ::', $s_info);
Will get this fixed asap.Submitted PR here:
v3.0.0_13
https://github.com/pfsense/FreeBSD-ports/pull/1049/files