aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cache_test.go4
-rw-r--r--test/erratic_autopath_test.go4
-rw-r--r--test/etcd_test.go2
-rw-r--r--test/file_cname_proxy_test.go2
-rw-r--r--test/metrics_test.go4
-rw-r--r--test/proxy_health_test.go2
-rw-r--r--test/server_test.go2
7 files changed, 10 insertions, 10 deletions
diff --git a/test/cache_test.go b/test/cache_test.go
index 1bb600492..065008e77 100644
--- a/test/cache_test.go
+++ b/test/cache_test.go
@@ -26,9 +26,9 @@ func TestLookupCache(t *testing.T) {
}
defer i.Stop()
- // Start caching proxy CoreDNS that we want to test.
+ // Start caching forward CoreDNS that we want to test.
corefile = `example.org:0 {
- proxy . ` + udp + `
+ forward . ` + udp + `
cache 10
}
`
diff --git a/test/erratic_autopath_test.go b/test/erratic_autopath_test.go
index 273367307..d71873131 100644
--- a/test/erratic_autopath_test.go
+++ b/test/erratic_autopath_test.go
@@ -47,7 +47,7 @@ func TestLookupAutoPathErratic(t *testing.T) {
corefile := `.:0 {
erratic
autopath @erratic
- proxy . ` + proxyPath + `
+ forward . ` + proxyPath + `
debug
}
`
@@ -92,7 +92,7 @@ func TestAutoPathErraticNotLoaded(t *testing.T) {
setupProxyTargetCoreDNS(t, func(proxyPath string) {
corefile := `.:0 {
autopath @erratic
- proxy . ` + proxyPath + `
+ forward . ` + proxyPath + `
debug
}
`
diff --git a/test/etcd_test.go b/test/etcd_test.go
index d03f7ce3d..2ac165beb 100644
--- a/test/etcd_test.go
+++ b/test/etcd_test.go
@@ -48,7 +48,7 @@ func TestEtcdStubAndProxyLookup(t *testing.T) {
upstream
fallthrough
}
- proxy . 8.8.8.8:53
+ forward . 8.8.8.8:53
}`
ex, udp, _, err := CoreDNSServerAndPorts(corefile)
diff --git a/test/file_cname_proxy_test.go b/test/file_cname_proxy_test.go
index 5fb13622b..f880d98a3 100644
--- a/test/file_cname_proxy_test.go
+++ b/test/file_cname_proxy_test.go
@@ -54,7 +54,7 @@ func TestZoneExternalCNAMELookupWithProxy(t *testing.T) {
file ` + name + ` example.org {
upstream
}
- proxy . 8.8.8.8 8.8.4.4
+ forward . 8.8.8.8 8.8.4.4
}
`
i, udp, _, err := CoreDNSServerAndPorts(corefile)
diff --git a/test/metrics_test.go b/test/metrics_test.go
index d12eac12c..c37126a74 100644
--- a/test/metrics_test.go
+++ b/test/metrics_test.go
@@ -23,7 +23,7 @@ func TestMetricsServer(t *testing.T) {
}
example.com:0 {
- proxy . 8.8.4.4:53
+ forward . 8.8.4.4:53
prometheus localhost:0
}
`
@@ -38,7 +38,7 @@ func TestMetricsRefused(t *testing.T) {
metricName := "coredns_dns_response_rcode_count_total"
corefile := `example.org:0 {
- proxy . 8.8.8.8:53
+ forward . 8.8.8.8:53
prometheus localhost:0
}
`
diff --git a/test/proxy_health_test.go b/test/proxy_health_test.go
index 620d8b274..6ab7faa8c 100644
--- a/test/proxy_health_test.go
+++ b/test/proxy_health_test.go
@@ -46,7 +46,7 @@ func TestProxyThreeWay(t *testing.T) {
// Proxying CoreDNS.
corefileProxy := `example.org:0 {
- proxy . ` + addr1 + " " + addr2 + ` {
+ forward . ` + addr1 + " " + addr2 + ` {
max_fails 1
}
}`
diff --git a/test/server_test.go b/test/server_test.go
index a0dfed7dd..d7d4f43fc 100644
--- a/test/server_test.go
+++ b/test/server_test.go
@@ -21,7 +21,7 @@ func TestProxyToChaosServer(t *testing.T) {
defer chaos.Stop()
corefileProxy := `.:0 {
- proxy . ` + udpChaos + `
+ forward . ` + udpChaos + `
}
`
proxy, udp, _, err := CoreDNSServerAndPorts(corefileProxy)