ngadmini / Grabbing-Blacklist-for-Bind9-RPZ

a pack of bash script to grabbing blacklisted domains for bind9 response policy zone
Creative Commons Attribution Share Alike 4.0 International
17 stars 8 forks source link
bash-script bind9 bind9-rpz blacklist blacklist-domains dns-firewall dns-server domains-list internet-positif internet-sehat kominfo response-policy-zone rpz trust-positif update-database-rpz

Grabbing Blacklisted Domains for Bind9-RPZ

Bash script-pack to update blacklisted domains in BIND9 Response Policy Zone
Please consider adapting this pack to fit your environment properties,
since simple duplication may not given appropriate results.
The partial output of this script-pack can be found at this repo



featuring

script-pack

  1. grab_http.sh --grabbing and proccessing domains from sources-list
  2. grab_duplic.sh --removing duplicate entries and sub-domains if parent domain exist
  3. grab_build.sh --rewriting to Bind9-RPZ format-entry
  4. grab_cereal.sh --incrementing serial number at rpz.*
  5. grab_library --a library of functions. intended for use by other scripts, not to be executed directly
  6. grab_urls --urls of sources-list. case sensitive, sort as is, line count and no blank lines
  7. grab_regex --list of reguler expressions. case sensitive, sort as is, line count and no blank lines
  8. grab_rsync.sh --intended for syncronize latest dBASE to Bind9 host
  9. grab_config --configurations file
    1. rpz.* --pack of zone-files

      NOTE
      Place them all under the same directory

      requirements: