Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 537 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 537 Bytes

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
}