[Dnsmasq-discuss] Forwarding local domain when not DHCP?

Aaron Ten Clay aaron at madebyai.com
Mon Aug 10 22:39:50 BST 2009


Hello,

I'm trying to configure dnsmasq to forward local domain queries to a windows 
box when the host requested was not DHCP.

To start, I have a DNS configuration like this:

---
local=/company.local/
domain=company.local
expand-hosts
server=/company.local/192.168.0.10
server=/company.com/192.168.0.10
no-resolv
server=208.67.222.222           # OpenDNS primary
server=208.67.220.220           # OpenDNS secondary
---

Using the "local" (or "server") directive for company.local with no server IP 
address seems to cause dnsmasq to return NXDOMAIN if a host request is not 
found in DHCP/local hosts file.

Can anyone point me in the right direction? I thought about removing the 
"domain" directive but that would prevent dhcphost1.company.local from 
resolving, right?

Thanks!
-- 
Aaron Ten Clay



More information about the Dnsmasq-discuss mailing list