Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/missdeer/bogus
bogus plugin for CoreDNS
https://github.com/missdeer/bogus
Last synced: 26 days ago
JSON representation
bogus plugin for CoreDNS
- Host: GitHub
- URL: https://github.com/missdeer/bogus
- Owner: missdeer
- License: gpl-3.0
- Created: 2019-12-18T09:58:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-10T03:04:41.000Z (about 4 years ago)
- Last Synced: 2024-02-12T17:07:18.367Z (10 months ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-coredns - bogus - return NXDOMAIN directly if the resovled IP is in the bogus list. (External Plguins)
README
# bogus
## Name
*bogus* - return NXDOMAIN directly if the resovled IP is in the bogus list.
## Description
*bogus* takes a list of IP address and returns NXDOMAIN for any resolved address under them instead
of return the bogus IP address.
Put *bogus* beside *rewrite* in `plugin.cfg`.## Syntax
~~~ txt
bogus BOGUS_IPs......
~~~## Examples
~~~ corefile
. {
bogus 10.255.10.1 10.255.10.2 10.255.20.1 10.255.20.2
whoami
}
~~~# Bugs
The list of IP address is just a slice that is traversed, meaning this plugin will get slow when a lof of
IP address are to be bogus.