coredns/middleware
Miek Gieben e1c1521ad5 Core: convert IP addresses to reverse zone (#838)
* Core: convert IP addresses to reverse zone

If we see IP/mask syntax and the mask mod 8 == 0 we assume a reverse
zone and convert to in-addr or .arpa.

* typos

* integration test

* Addr is not used

* core: clean up normalize

Create a SplitHostPort function that can be used both from normalize.go
and address.go. This removes some (not all!) duplication between the
both and makes it work with reverse address notations.

* More tests
2017-08-07 13:24:09 -07:00
..
auto all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
bind Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
cache Misspell correction (#826) 2017-08-04 09:06:06 -07:00
chaos Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
debug Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
dnssec all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
dnstap all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
erratic all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
errors all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
etcd README.md: clean TLS cert language (#797) 2017-07-29 04:03:55 -07:00
file all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
health Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
hosts Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
kubernetes middleware/kubernetes: autopath in sub package (#848) 2017-08-07 07:09:32 -07:00
loadbalance Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
log mw/logs: add rflags to logging (#845) 2017-08-07 03:49:40 -07:00
metrics all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
pkg mw/logs: add rflags to logging (#845) 2017-08-07 03:49:40 -07:00
pprof Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
proxy all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
reverse all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
rewrite all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
root Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
secondary middleware/secondary: pull all zones (#834) 2017-08-05 01:36:11 -07:00
test Middleware/k8s: Add unit tests for Pods (#815) 2017-08-03 12:16:50 -07:00
tls Fix TLS error message (#634) 2017-04-20 09:40:18 -04:00
trace all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
whoami Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
backend.go middleware/backend: add Records() to ServiceBackend interface (#770) 2017-07-01 15:19:57 -07:00
backend_lookup.go all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
middleware.go core: export ClientWrite (#849) 2017-08-07 07:39:57 -07:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
normalize.go Core: convert IP addresses to reverse zone (#838) 2017-08-07 13:24:09 -07:00
normalize_test.go Core: convert IP addresses to reverse zone (#838) 2017-08-07 13:24:09 -07:00