Blocker
Name
blocker - Redirect banned hosts to 0.0.0.0
Description
blocker redirects hosts' IP addresses to 0.0.0.0 instead of resolving the related IP address.
Syntax
blocker hosts
Metrics
If monitoring is enabled (via the prometheus plugin) then the following metrics are exported:
coredns_blocker_{domain} - Count of the blocked hosts
Examples
Hosts file example Steven Black
example.com {
blocker hosts
}