diff options
author | 2017-06-08 13:48:04 -0600 | |
---|---|---|
committer | 2017-06-08 20:48:04 +0100 | |
commit | 92dd947c51e7c6b56276615507af9447abb377b8 (patch) | |
tree | 3a913f469116c6dc3e580ca6fae90ce18b6fe5ed /middleware/kubernetes/controller.go | |
parent | 990460ee7caffe752167b5307d7a5bffab37da61 (diff) | |
download | coredns-92dd947c51e7c6b56276615507af9447abb377b8.tar.gz coredns-92dd947c51e7c6b56276615507af9447abb377b8.tar.zst coredns-92dd947c51e7c6b56276615507af9447abb377b8.zip |
middleware/hosts for /etc/hosts parsing (#695)
* add hosts middleware
* forgot pointer receiver
* add appropriately modified hostsfile tests from golang repo
* remove test artifacts, separate hostsfile parsing from caching and opening, remove unused metrics references, move middleware up the chain
* refactored the logic for creating records and filtering ip address versions. also got PTR lookups working
* Add README.md. Modify config to be more concise. Add zones list to config. Filter PTR responses based on zones list.
* add Fallthrough and return correct dns response code otherwise
* Simplified Hostsfile to only store hosts in the zones we care about, and by ip version. Added handler tests and improved other tests.
* oops, goimports loaded a package from a different repo
Diffstat (limited to 'middleware/kubernetes/controller.go')
0 files changed, 0 insertions, 0 deletions