Minor fixes to Template for DNS.