An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# forwardif

[coredns][] plugin for conditional forward rules.

[![Build Status](https://travis-ci.org/b4fun/forwardif.svg)](https://travis-ci.org/b4fun/forwardif)
[![](https://godoc.org/github.com/b4fun/forwardif?status.svg)](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