dnsmasq binds only to interfaces it is listening on

To protects against postponing unnecessary error texts in logs.

Change-Id: I22254199bb1c1aba782cde5a615735f15db71623
Closes-Bug: #1533810
This commit is contained in:
Maciej Relewicz 2016-01-14 15:20:01 +01:00
parent 1f459f5565
commit cf831a26a1

View File

@ -19,6 +19,14 @@ server=/<%= @dns_domain %>/<%= dns %>
resolv-file=/etc/dnsmasq.upstream
interface=<%= @dhcp_interface %>
# On systems which support it, dnsmasq binds the wildcard address,
# even when it is listening on only some interfaces. It then discards
# requests that it shouldn't reply to. This has the advantage of
# working even when interfaces come and go and change address. If you
# don't want dnsmasq to really bind only the interfaces it is listening on,
# comment this option.
bind-interfaces
cache-size=1024
# This is one of the key options. dnsmasq tries to move out servername