core
core copied to clipboard
Add response code REFUSED at Unbound blocklists
Here is my PR for the addition of response code REFUSED at Unbound blocklists Ref: #6027 Successfully tested on a live installation
https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Unbound/core/dnsbl_module.py
- Since I was already doing this anyway, I added RCODE_SERVFAIL as well as RCODE_REFUSED, as this was used several times but was not defined.
- Pyflake shows even more undefined variables here, e.g. RR_TYPE_A, but I haven't looked into it any further...