diff --git a/entrypoint/src/dnsmasq/tpl.go b/entrypoint/src/dnsmasq/tpl.go index 48d980c..c2ee240 100644 --- a/entrypoint/src/dnsmasq/tpl.go +++ b/entrypoint/src/dnsmasq/tpl.go @@ -32,7 +32,7 @@ no-hosts user= group= -{{- $domain := . -}} +{{- $domain := .Domain -}} {{- range .Hosts }} address=/{{ .Name }}.hosts.{{ $domain }}/{{ .IP }}