Closed mg03 closed 8 years ago
Can you share the contents of /etc/consul-template/tmpl/dnsmasq.ctmpl
?
Hi seth
interface=*
addn-hosts=/etc/hosts
# Never forward addresses in the non-routed address spaces.
bogus-priv
# the followin is needed to prevent anyone from using this as a recursive dns and/or for DNS poisoning
no-resolv
dns-forward-max=0
{{range service "consul@us-east-1"}}
server=/domain/{{.Address}}#8500
{{end}}
It seems to work now. i do not know what happened. But restarting the consul-template service a few times made things work.
I will debug it a bit more since this almost seems like magic and Im not liking it. If I find anything ill let you know.
Thanx
Hi
consul-template -v consul-template v0.15.0