diff options
author | 2017-08-07 13:24:09 -0700 | |
---|---|---|
committer | 2017-08-07 13:24:09 -0700 | |
commit | e1c1521ad564dbae4106fba7c8cf29d9bb62778c (patch) | |
tree | 076bad082cd8a1c12a904e3eea9eebd330281976 /middleware/kubernetes/handler.go | |
parent | 468d5b57de34e269a3c394385db146d98473d6e7 (diff) | |
download | coredns-e1c1521ad564dbae4106fba7c8cf29d9bb62778c.tar.gz coredns-e1c1521ad564dbae4106fba7c8cf29d9bb62778c.tar.zst coredns-e1c1521ad564dbae4106fba7c8cf29d9bb62778c.zip |
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
Diffstat (limited to 'middleware/kubernetes/handler.go')
0 files changed, 0 insertions, 0 deletions