Closed elan100cs closed 8 years ago
Yes indeed, this is intended, since Fabio(or HAproxy+iptables) is already listening on port 80 on every slave, and will redirect you to a proper instance anyway - so it doesn't matter which slave you hit even if the service doesn't run locally.
You can also modify dnsmasq behavior
(you can overwrite any ENV variables just just run export DNSMASQ_ADDRESS=" " ; ./generate_yml.sh
)
or disable it and use your own DNS, it is still gonna work, but you will just experience a bit more network traffic, that's all.
Thanks for this, we will do as you suggested export DNSMASQ_ADDRESS=" " ; ./generate_yml.sh
since we dont want non existing service to resolve to any host ip.
Hello,
First of all thanks for this awesome project. This is more a question rather than an issue.
I have notice that when we try to ping an arbitrary service which doesnt exist the host returns it's current machine IP. E.g.
Will return the current HOST IP.
Upon inspecting the source code, this is because of the DNSMASQ are set to resolve any address ending with CONSUL to the current CONSUL_IP. See generate_yml.sh
From the dnsmasq man:
Is this behaviour intended? If i dont want this behaviour by removing the lines from generate_yml.sh there, do you see any other impact caused by removing the above code?