unbound-rpz.sh (183B)
- #!/bin/sh
- sed -E \
- -e 's!#!;!' \
- -e 's!local-zone: "!!' \
- -e 's!" always_nxdomain!!' \
- -e 's!^([^;]+)(.*)$!\1 CNAME . \2\n*.\1 CNAME .!' \
- unbound-blocks.conf >|unbound-rpz.conf
git clone https://anongit.hacktivis.me/git/domain-blocks.git/
unbound-rpz.sh (183B)
- #!/bin/sh
- sed -E \
- -e 's!#!;!' \
- -e 's!local-zone: "!!' \
- -e 's!" always_nxdomain!!' \
- -e 's!^([^;]+)(.*)$!\1 CNAME . \2\n*.\1 CNAME .!' \
- unbound-blocks.conf >|unbound-rpz.conf