coredns/middleware
Michael Richmond d04abdf422 BK8s datasource middleware -- PoC for A records (#153)
* Laying down kubernetes middleware foundation

* Duplicated a bunch of code form etcd middleware
* Duplicated code hacked to compile and load as a separate middleware

* Adding verbose build option to Makefile

* Removing stubzone and tls support

tls and stubzone support was carried over from base etcd middleware code.
Removing to simplify the kube middleware implementation. (For now.)

* Adding conf directory for sample conf files

* Removing stubzone support from query handler

* Remove upstream and proxy from k8s corefile.

Not sure that upstream or proxy makes sense for a k8s backed zone.

* Comment out use of singleflight serialization

* Removing parsing support for "upstream" directive from k8s

* Removing upstream directive parsing code

* Removing CNAME and TXT lookup implementation

* Create README.md

Brain-dump of DNS record name assembly and open work items.

* Adding notes about wildcard handling

* Adding basic k8s API client

* Fleshing out methods on k8s connector

* Remove PathPrefix from middleware init

* Removing incorrect plural

* Adding brute-force k8s service lookup functions

* Initializing k8s API connector during startup

* Hacking around to call k8s connector

* Parsing incoming domain name into serviceName and namespace

* Improving and simplifying k8s zone matching and label segmentation

* Removing unused functions carried over from etcd middleware

* Adding basic return of k8s data to DNS client

* updated debugging println statements to flag with "[debug]"
* removed code in kubernetes.go::Records that was a hold-over from etcd middleware.
* Removed some random exploratory hacking.

* Minior README.md updates

* Updating with demo instructions

* Updating README.md with CoreFile and removing completed TODO items

* Updating conf file and README to reflect DNS response cache works

* Disabling DNS response caching

* Adding debug statement on entry to Records()

* Changing port number in exampes to port 53.

* Misc style and clarity changes

* Removing empty function definitions

* Adding comment to track future cleanup

* Refactoring README to follow style of other middleware

* Exposing dataobject field (typo)
2016-06-06 20:49:53 +01:00
..
cache middleware/caching: don't set TTL on OPT 2016-05-22 19:43:58 +01:00
chaos Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
dnssec Bail out on failure when starting up 2016-04-27 10:48:22 +00:00
errors Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
etcd Fixes: debug RR and header bits (#151) 2016-05-23 09:16:57 +01:00
file Clean up remove caddy refs (#139) 2016-04-28 19:07:44 +01:00
health Make middleware survive a restart (#142) 2016-04-29 07:28:35 +01:00
kubernetes BK8s datasource middleware -- PoC for A records (#153) 2016-06-06 20:49:53 +01:00
loadbalance Some tiny changes and new benchmark test function (#136) 2016-04-26 20:45:29 +01:00
log Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
metrics Make middleware survive a restart (#142) 2016-04-29 07:28:35 +01:00
pprof pprof does not need to inject middleware 2016-04-29 22:04:22 +01:00
proxy middleware/proxy: multiple enhancements (#145) 2016-04-30 15:54:41 +01:00
rewrite Fix rewrite 2016-04-21 22:02:26 +01:00
secondary Add secondary support 2016-04-03 09:02:34 +01:00
singleflight Fix path for asset storage (#144) 2016-04-30 21:56:43 +01:00
test Fix path for asset storage (#144) 2016-04-30 21:56:43 +01:00
canonical.go middleware/file: Support delegations (#124) 2016-04-16 16:16:52 +01:00
canonical_test.go middleware/file: Support delegations (#124) 2016-04-16 16:16:52 +01:00
classify.go Add middleware/dnssec (#133) 2016-04-26 17:57:11 +01:00
classify_test.go Add middleware/dnssec (#133) 2016-04-26 17:57:11 +01:00
commands.go First commit 2016-03-18 20:57:35 +00:00
commands_test.go First commit 2016-03-18 20:57:35 +00:00
edns.go correct EDNS responses (#96) 2016-04-09 16:17:53 +01:00
edns_test.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
exchange.go Add etcd middleware 2016-03-23 10:41:40 +00:00
host.go Rename Standard to Normalize 2016-04-03 07:44:28 +01:00
middleware.go middleware/cache: Add metrics (#132) 2016-04-21 21:46:58 +01:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
name.go Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00
rcode.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
recorder.go EDNS: return error on wrong version. (#95) 2016-04-09 11:13:04 +01:00
recorder_test.go Use context.Context 2016-03-19 07:32:50 +00:00
replacer.go Fix NODATA/NXDOMAIN for unknown types in etcd (#113) 2016-04-12 23:26:46 +01:00
replacer_test.go Use context.Context 2016-03-19 07:32:50 +00:00
roller.go First commit 2016-03-18 20:57:35 +00:00
state.go Allow debug queries to etcd middleware (#150) 2016-05-22 21:16:26 +01:00
state_test.go Rename middleware/testing (#103) 2016-04-11 07:56:38 +01:00
zone.go Use dns.IsSubDomain (#112) 2016-04-12 22:34:44 +01:00