-i, --interface=<interface name>
Listen only on the specified interface(s). Dnsmasq automatically adds
the loopback (local) interface to the list of interfaces to use when
the
--interface
option is used. If no
--interface
or
--listen-address
options are given dnsmasq listens on all available interfaces except any
given in
--except-interface
options. On Linux, when
--bind-interfaces
or
--bind-dynamic
are in effect, IP alias interface labels (eg "eth1:0") are checked, rather than
interface names. In the degenerate case when an interface has one address, this amounts to the same thing but when an interface has multiple addresses it
allows control over which of those addresses are accepted.
The same effect is achievable in default mode by using
--listen-address.
A simple wildcard, consisting of a trailing '*',
can be used in
--interface
and
--except-interface
options.