mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
k8s/autopath: Add CNAMES (#771)
* Add unit tests & cnames * more progress * fix * next mw dependent unit tests * add tests for OnNXDOMAIN * Add AAAA and ndots unit tests; fix request.NewWithQuestion * Correct default value in README * add CNAMEs to readme * review * fix autopath examples * fix and test CNAME response order
This commit is contained in:
committed by
John Belamaric
parent
0049230a93
commit
8495e48297
@@ -59,6 +59,7 @@ func kubernetesParse(c *caddy.Controller) (*Kubernetes, error) {
|
||||
ResyncPeriod: defaultResyncPeriod,
|
||||
interfaceAddrs: &interfaceAddrs{},
|
||||
PodMode: PodModeDisabled,
|
||||
Proxy: proxy.Proxy{},
|
||||
}
|
||||
|
||||
for c.Next() {
|
||||
@@ -244,5 +245,5 @@ const (
|
||||
defaultPodMode = PodModeDisabled
|
||||
defautNdots = 0
|
||||
defaultResolvConfFile = "/etc/resolv.conf"
|
||||
defaultOnNXDOMAIN = dns.RcodeServerFailure
|
||||
defaultOnNXDOMAIN = dns.RcodeSuccess
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user