-
Notifications
You must be signed in to change notification settings - Fork 7
/
TODO
36 lines (26 loc) · 1.15 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
* monitoring bind/rpz usage
* add 'search domains' in resolvconf and resolv.conf
* block any request?
http://www.darkreading.com/cloud/poorly-configured-dnssec---potential-ddos-weapon/d/d-id/1326643
https://serverfault.com/questions/744613/block-any-request-in-bind
https://lists.isc.org/pipermail/bind-users/2012-July/088220.html
no easy way, go iptables rate-limit
http://www.mill-yard.com/2013/07/centos-bind-blocking-dns-reflection-or-amplification-ddos-attacks-using-recursive-dns-lookups/
options {
[other already entered options settings]
...
allow-query {any;};
recursion no;
additional-from-auth no;
additional-from-cache no;
version "MYOB";
rate-limit { responses-per-second 10; window 5; };
};
iptables -A OUTPUT -p udp --source-port 53 -m string --algo kmp --from 30 --to 31 --hex-string \"|8105|\" -j DROP
https://isc.sans.edu/diary/DNS+queries+for+/5713
http://www.cymru.com/Documents/secure-bind-template.html
* MISP to RPZ
OK except resolution
FIXME! export use CNAME which is not working with pure ip (other rpz zone as A)
empty-zones-enable yes;
https://deepthought.isc.org/article/AA-00800/0/Automatic-empty-zones-including-RFC-1918-prefixes.html