coredns/middleware
John Belamaric ef315ef3e2 Rewrite edns0 (#561)
* Add edns0 code rewrite

* check arg count

* change `new`; set EDNS0 if request doesn't have it set

* change set to replace_or_append

* change to append_or_replace

* return error in new

* update documents

* fixt UT

* return error

* go fmt

* Rework for more general EDNS0 use

Also changed how rules are created and validated. Implements
EDNS0 NSID in addition to local.

* go fmt

* README updates, NSID tests and fixes

* gofmt -s -w

* Fix tests for rewrite syntax change

* Add tests, fix error message

* Review nits

* Missed on nit

* More tests, integration test, fix edns0 parse issue

* Fix README, use RewriteIgnored

* go fmt
2017-03-06 21:32:17 +00:00
..
auto Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
bind Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
cache Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
chaos Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
dnssec Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
erratic Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
errors Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
etcd Don't error log NXDOMAIN (#572) 2017-03-06 11:43:23 +00:00
file Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
health Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
kubernetes Don't error log NXDOMAIN (#572) 2017-03-06 11:43:23 +00:00
loadbalance Gofmt all code (#552) 2017-02-22 16:06:20 +00:00
log Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
metrics Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
pkg Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
pprof Gofmt all code (#552) 2017-02-22 16:06:20 +00:00
proxy Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
reverse Gofmt all code (#552) 2017-02-22 16:06:20 +00:00
rewrite Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
root Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
secondary Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
test Common tls (#474) 2017-01-10 10:18:34 -05:00
trace Enforce go lint check and fix several lint issues (#570) 2017-03-05 14:17:05 -08:00
whoami Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
backend.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
backend_lookup.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
middleware.go Gofmt all code (#552) 2017-02-22 16:06:20 +00:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
normalize.go middleware/metrics: cleanup (#355) 2016-10-26 10:01:52 +01:00
normalize_test.go Add tests for normalize.go 2016-09-07 12:55:41 +00:00