When I add DNS names via dhcp-host entries in dnsmasq.conf, they don't work until the device requests a DHCP lease. Is there a way to make them take effect even when the device hasn't requested a DHCP lease yet?
I put items in my /jffs/configs/dnsmasq.conf.add:
I rebooted the router. nslookup and ping can't find fred or mary until they request a DHCP lease.
I know I could *also* create entries in hosts.dnsmasq, but that would be redundant data and, as a database guy, I know that when you have redundant data, at least one copy is usually wrong.
I put items in my /jffs/configs/dnsmasq.conf.add:
Code:
dhcp-host=00:1B:A9:F9:19:24,192.168.1.9,fred,60m
dhcp-host=0C:9D:92:20:16:81,192.168.1.10,mary,60m
I rebooted the router. nslookup and ping can't find fred or mary until they request a DHCP lease.
I know I could *also* create entries in hosts.dnsmasq, but that would be redundant data and, as a database guy, I know that when you have redundant data, at least one copy is usually wrong.