Skip to content

Commit 0b27c4b

Browse files
authored
Skip fallback DNS when it is disabled (#87)
1 parent 8e0ea74 commit 0b27c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/usr/share/tempio/corefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
health_check 1m
2222
max_fails 5
2323
}
24-
fallback REFUSED,SERVFAIL,NXDOMAIN . dns://127.0.0.1:5553
24+
{{ if .fallback }}fallback REFUSED,SERVFAIL,NXDOMAIN . dns://127.0.0.1:5553{{ end }}
2525
cache 600
2626
}
2727

0 commit comments

Comments
 (0)