aboutsummaryrefslogtreecommitdiff
path: root/plugin/bind/setup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/bind/setup_test.go')
-rw-r--r--plugin/bind/setup_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/bind/setup_test.go b/plugin/bind/setup_test.go
index 556aa1ea2..b0cf1087b 100644
--- a/plugin/bind/setup_test.go
+++ b/plugin/bind/setup_test.go
@@ -19,6 +19,7 @@ func TestSetup(t *testing.T) {
{`bind 1.2.3.4 ::5`, []string{"1.2.3.4", "::5"}, false},
{`bind ::1 1.2.3.4 ::5 127.9.9.0`, []string{"::1", "1.2.3.4", "::5", "127.9.9.0"}, false},
{`bind ::1 1.2.3.4 ::5 127.9.9.0 noone`, nil, true},
+ {`bind 1.2.3.4 lo`, []string{"1.2.3.4", "127.0.0.1", "::1"}, false},
} {
c := caddy.NewTestController("dns", test.config)
err := setup(c)