stopdnsrebind - Coredns plugin that implement --stop-dns-rebind
from dnsmasq.
With stopdnsrebind
enabled, users are able to block addresses from upstream nameservers which are in the private ranges.
The import order of this plugin matters, it is possible that it will not work depending on the import order
127.0.0.1/8
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
169.254.0.0/16
0.0.0.0
224.0.0.0/24
- Add your entries in the plugin configuration.
Keeping the network secure! 🔐
stopdnsrebind [ZONES...] {
allow [ZONES...]
deny [IPNet]
}
- ZONES zones that are allowed o resolve to private addresses
To demonstrate the usage of plugin stopdnsrebind, here we provide some typical examples.
. {
stopdnsrebind {
allow internal.example.org
deny 192.0.2.1/24
}
}