• This repository has been archived on 28/Mar/2023
  • Stars
    star
    130
  • Rank 268,904 (Top 6 %)
  • Language
    Perl
  • Created over 12 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a script to convert Dan Pollock's ad blocking hosts file into Unbound local-data.

NAME

unbound-block-hosts - a script to convert Dan Pollock's ad blocking hosts file into Unbound local-data

SYNOPSIS

unbound-block-hosts [OPTIONS]

INTRODUCTION

Dan Pollock (http://someonewhocares.org/) maintains a hosts file that can be used by individual users to block hosts that contain advertisements, spyware, web trackers and other unpleasant, annoying or malicious content.

This script converts this file into a format that can be loaded into the Unbound DNS server, allowing this list to be consumed by an entire network, or by devices (such as smart phones and tablets) which don't support a local hosts file.

USAGE

unbound-block-hosts supports the following arguments:

  • --address=ADDRESS

    The IP address to resolve to. This is 127.0.0.1 by default.

  • --v6address=ADDRESS

    The IPv6 address to resolve to. This is ::1 by default.

  • --url=URL

    The URL to retrieve. This is http://someonewhocares.org/hosts/hosts by default.

  • --file=FILE

    The file to write. This is /var/unbound/local-blocking-data.conf by default.

  • --SECTION

    The source file contains a number of sections, which can be enabled or disabled as required. By default, all sections are enabled except for shock-sites and maybe-spy.

This script will compare the modification time of the local file to that on the remote server, and won't request the file if it hasn't been updated.

INTEGRATING INTO UNBOUND

To use the output of this file with Unbound, use the include directive within the server block, like so:

    server:
            access-control: 0.0.0.0/8 allow
            include: /var/unbound/local-blocking-data.conf

COPYRIGHT

Copyright 2015 Gavin Brown <[email protected]>

This program is Free Software, you can use it and/or modify it under the same terms as Perl itself.

SEE ALSO

More Repositories

1

webidx

webidx is a client-side search engine for static websites.
Perl
53
star
2

rdapper

A simple console-based RDAP client.
Perl
14
star
3

epp-fee-extension

Registry Fee Extension for the Extensible Provisioning Protocol
HTML
12
star
4

rdap.org

rdap.org redirector
PHP
10
star
5

rdap-bootstrap-server

The RDAP.ORG Bootstrap Server.
PHP
6
star
6

pnotify

A simple, portable Perl script for sending DNS NOTIFY packets with TSIG support.
Perl
4
star
7

epp-ttl-extension

Extensible Provisioning Protocol (EPP) Mapping for DNS Time-To-Live (TTL) values.
Makefile
4
star
8

spec5-reserved-names

A list of domain names which must be reserved by gTLD Registry Operators.
Java
4
star
9

pepper

A command-line client for the Extensible Provisioning Protocol (EPP).
Perl
3
star
10

rdap-web-client

A web-based RDAP client that talks directly to RDAP servers, without using a proxy.
HTML
3
star
11

rdnsd2

A remote DNS server monitoring tool
Perl
2
star
12

rdap-json-schemas

JSON Schemas for RDAP, see http://www.iit.cnr.it/node/51116. Schema files kindly provided by Mario Loffredo.
2
star
13

podbrowser

Perl Documentation Browser
Perl
2
star
14

centralnic-registry-whmcs-plugin

A new plugin for WHMCS, that interacts with the CentralNic Registry EPP server.
PHP
2
star
15

perl-net-rdap

Net::RDAP - an interface to the Registration Data Access Protocol.
Perl
2
star
16

epp-related-objects-extension

Extensible Provisioning Protocol (EPP) Extension for Related Objects
HTML
2
star
17

rootrdap-web

Static content for https://root.rdap.org
1
star
18

draft-brown-eppSig

XML Digital Signatures Extension for the Extensible Provisioning Protocol
PHP
1
star
19

czds-php

A simple client library for accessing ICANN's Centralized Zone Data Service (CZDS).
PHP
1
star
20

dsd

DSD - A Simple DNS Statistics Collecting Daemon
Perl
1
star
21

rarrdap-web

Static content for https://registrars.rdap.org
1
star
22

rdnsd

A remote DNS server monitoring system.
Perl
1
star
23

epp-registration-type-extension

Registration Type Extension for the Extensible Provisioning Protocol (EPP).
HTML
1
star
24

rarrdap

A script to generate a set of RDAP responses for ICANN-accredited registrars.
Perl
1
star
25

icann-rdap-conformance-tool-docker-image

ICANN RDAP Conformance Tool Docker Image
Dockerfile
1
star
26

Fusebox

Fusebox is a highly experimental, pre-pre-alpha attempt to provide end-to-end security for Dropbox.
Perl
1
star
27

perl-net-epp

Net::EPP - a Perl library for the Extensible Provisioning Protocol (EPP).
Perl
1
star
28

crond-php

A pure PHP implementation of crond(8).
PHP
1
star