https://github.com/b4fun/forwardif
coredns plugin for conditional forward rules
https://github.com/b4fun/forwardif
adblock coredns dns
Last synced: about 2 months ago
JSON representation
coredns plugin for conditional forward rules
- Host: GitHub
- URL: https://github.com/b4fun/forwardif
- Owner: b4fun
- License: mit
- Created: 2018-10-11T03:34:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-17T11:25:58.000Z (over 6 years ago)
- Last Synced: 2025-03-05T14:03:18.994Z (2 months ago)
- Topics: adblock, coredns, dns
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forwardif
[coredns][] plugin for conditional forward rules.
[](https://travis-ci.org/b4fun/forwardif)
[](http://godoc.org/github.com/b4fun/forwardif)[coredns]: https://coredns.io/
## Example
```
. {
forwardif {
adb adb:///path/to/file// forward rule on one of the conditions matched
forward_to 10.0.0.1
}// fallback rule
forward . 8.8.8.8
}
```## coredns build
See [coredns_build](https://github.com/b4fun/coredns_build).
## LICENSE
MIT