aboutsummaryrefslogtreecommitdiff
path: root/test/reverse_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24tests: CoreDNSServerAndPorts (#972)Gravatar Miek Gieben 1-6/+1
* tests: CoreDNSServerAndPorts Copy from kubernetes.go and renamed to fit the style, adapted almost all callers. This is a mechanicl change, no testdata was changed. * typos
2017-08-07Core: convert IP addresses to reverse zone (#838)Gravatar Miek Gieben 1-0/+37
* 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-03-02Fix resolving CNAME with no proxy (#564)Gravatar Miek Gieben 1-1/+1
This fixes a crash when we resolve (or try to) an external CNAME when no proxy is set. Add test as well.
2017-02-22Fix import path `github.com/miekg/coredns` -> `github.com/coredns/coredns` ↵Gravatar Yong Tang 1-3/+3
(#547) This fix fixes import path from `github.com/miekg/coredns` -> `github.com/coredns/coredns`
2017-02-20Document fallthrough and fix rewrite (#537)Gravatar Miek Gieben 1-0/+95
* Document fallthrough and fix *reverse* While documenting the fallthrough behavior and testing it I noticed the did not properly work. This PR does a tiny bit too much as it - Documents fallthrough - Fixes fallthrough in reverse - Makes directives_generate complain on duplicate priorities - Moved reverse *before* file in middleware.cfg - Add a test that tests the reverse fallthrough behavior with a file backend Fixes #515 * ....and fix the tests