Skip to content

nicholas-petersen/coredns-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

coredns plugin - domain blocking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages