local dns (dnsmasq)
Behind my fw I cannot get dns to local machines to work. /etc/resolv.conf points to 127.0.0.1, locally I have dnsmasq running. /usr/local/etc/dnsmasq.conf contains lines like:
dhcp-host=00:1d:60:e0:08:db,machine-a,192.168.1.2,2h
If I do arp -a I see the machine connected and it's mac. If I ping the ip it works, if I ping the name is sends the name query upstream returning an invalid ip.
I thought that since the machine gets an ip throught dhcp, the fw would also be able to resolve it.
Dnsmasq settings are:
log-queries
domain-needed
bogus-priv
bind-interfaces
dhcp-authoritative
expand-hosts
interface=fxp0
What should I do?
|