.:53 { template IN A { match (.*)\.localhost\. answer "{{ .Name }} 60 IN A 127.0.0.1" fallthrough } template IN AAAA { match (.*)\.localhost\. answer "{{ .Name }} 60 IN AAAA ::1" fallthrough } forward . /etc/resolv.conf log errors }