coredns/test
Markus Sommer d0d7f4c89a Kubernetes srv (#823)
* Treat absence of port/service in SRV as wildcard

Normally, a SRV-request should have the form
_<service>._<port>.<name>.<zone>. The k8s peer-finder which is used for
bootstrapping by some applications will however query for SRV at
<name>.<zone>.

To compensate for this behaviour, treat the absence of _<service> and
_<port> as wildcards.

* Modified tests with new SRV behaviour

Added a testcase for a SRV request without port & service
Removed now valid query from invalidSRVQueries

* Forgot to run gofmt on test/kubernetes_test.go
2017-08-04 09:41:55 -04:00
..
auto_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
cache_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
chaos_test.go middleware/chaos: fix version (#669) 2017-05-22 08:09:35 -04:00
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
ds_file_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
etcd_cache_debug_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
etcd_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
example_test.go middleware/file: add test for SRV additional (#616) 2017-04-13 16:25:16 +01:00
external_test.go test: add external compilation test (#803) 2017-07-29 04:04:12 -07:00
file.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
file_cname_proxy_test.go middleware/file: correctly parse the stanza (#658) 2017-05-03 16:36:41 +01:00
file_reload_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
file_srv_additional_test.go middleware/file: add test for SRV additional (#616) 2017-04-13 16:25:16 +01:00
file_test.go Run tests in parallel (#478) 2017-01-12 08:13:50 +00:00
grpc_test.go cleanup: go vet and golint run (#736) 2017-06-14 09:37:10 -07:00
kubernetes_test.go Kubernetes srv (#823) 2017-08-04 09:41:55 -04:00
metrics_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
middleware_dnssec_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
middleware_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
miek_test.go middleware/file: fix DS handling (#344) 2016-10-19 17:46:03 +01:00
proxy_health_test.go middleware/proxy: remove singleinflight from dns (#717) 2017-06-08 16:06:14 +01:00
proxy_http_health_test.go middleware/proxy: fix race; add Go 1.7 backward compatibility (#603) 2017-03-17 07:20:55 +00:00
proxy_test.go mw/file: rename to BenchmarkFileLookup (#741) 2017-06-18 19:50:38 +01:00
reload_test.go cleanup: go vet and golint run (#736) 2017-06-14 09:37:10 -07:00
reverse_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
rewrite_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
secondary_net_test.go middleware/secondary: multiple fixes (#745) 2017-06-21 23:46:20 -07:00
secondary_test.go middleware/secondary: fix crash with no zone (#680) 2017-06-01 12:33:40 +01:00
server.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
server_test.go Run tests in parallel (#478) 2017-01-12 08:13:50 +00:00
wildcard_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00