Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

miekg/nxdomain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nxdomain

Name

nxdomain - shortcut domain resolution by returning NXDOMAIN directly.

Description

nxdomain takes a list of domains and immediately returns NXDOMAIN for any name under them instead of taking the long road of trying to resolve them.

Syntax

nxdomain [ZONE]...

Examples

NXDOMAIN everything in the .com zone:

com {
    nxdomain
    whoami
}

NXDOMAIN everything (might be a bad idea):

. {
    nxdomain
    whoami
}

Bugs

The list of zones is just a slice that is traversed, meaning this plugin will get slow when a lof of names are to be shortcut.

About

CoreDNS plugin: return NXDOMAIN for configured domains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages