Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luzifer/named-blacklist
DNS blacklist generator to be used in combination with DNS Response Policy Zones in BIND 9.8+
https://github.com/luzifer/named-blacklist
bind blacklist dns generator golang
Last synced: 17 days ago
JSON representation
DNS blacklist generator to be used in combination with DNS Response Policy Zones in BIND 9.8+
- Host: GitHub
- URL: https://github.com/luzifer/named-blacklist
- Owner: Luzifer
- License: apache-2.0
- Created: 2019-08-25T18:42:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T22:56:01.000Z (over 1 year ago)
- Last Synced: 2024-06-21T03:18:51.359Z (5 months ago)
- Topics: bind, blacklist, dns, generator, golang
- Language: Go
- Homepage:
- Size: 4.92 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/named-blacklist)](https://goreportcard.com/report/github.com/Luzifer/named-blacklist)
![](https://badges.fyi/github/license/Luzifer/named-blacklist)
![](https://badges.fyi/github/downloads/Luzifer/named-blacklist)
![](https://badges.fyi/github/latest-release/Luzifer/named-blacklist)
![](https://knut.in/project-status/named-blacklist)# Luzifer / named-blacklist
This repo contains a DNS blacklist generator to be used in combination with [DNS Response Policy Zones](https://www.dnsrpz.info/) in BIND 9.8+.
## Usage
For full usage inside BIND see [BIND ARM](https://downloads.isc.org/isc/bind9/9.14.3/doc/arm/Bv9ARM.ch05.html#options).
Quoted from the ARM:
> For example, you might use this option statement
```
response-policy { zone "badlist"; };
```> and this zone statement
```
zone "badlist" {
type master;
file "master/badlist";
allow-query { none; };
};
```Then you can generate the `master/badlist` file using `named-blacklist`:
```console
# named-blacklist --config config.sample.yaml | tee master/badlist
$TTL 1H@ SOA LOCALHOST. dns-master.localhost. (1 1h 15m 30d 2h)
NS LOCALHOST.; Blacklist entries
0.nextyourcontent.com CNAME . ; From: "Dan Pollock - someonewhocares"
0.r.msn.com CNAME . ; From: "add.Risk"
000.0x1f4b0.com CNAME . ; From: "CoinBlocker"
000.gaysexe.free.fr CNAME . ; From: "Mitchell Krog's - Badd Boyz Hosts"
[...]
```