Add inline support for middleware/hosts (#1072)
This fix add inline support for middleware/hosts so that
it is possible to specify hosts file insides the Corefile:
```
hosts inline example.org {
10.0.0.1 example.org
fallthrough
}
```
This fix fixes 999.
Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Showing
test/hosts_file_test.go
0 → 100644
Please register or sign in to comment