[Dnsmasq-discuss] FreeBSD vs. "bind-interfaces" and "except-interface"
matthias.andree at gmx.de
Wed Feb 16 15:50:32 GMT 2011
dnsmasq 2.56 supposed to answer all but loopback. named (system default
BIND 9.6.3, FreeBSD 8.2-PRERELEASE amd64) is bound to 127.0.0.1 and ::1
port 53, confirmed with lsof. dnsmasq config is as follows:
domain=example.org # real address here
$ ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
This does not work at all (dnsmasq binds to INADDR_ANY), queries to the
local IP address (192.168.0.4) time out.
I need to add bind-interfaces to the configuration so that things work -
in that case, dnsmasq binds to 192.168.0.4 according to lsof.
Is this a known issue on FreeBSD? What means are there to resolve this
so that users don't fall into this trap?
More information about the Dnsmasq-discuss