On Sat, 26 Dec 2020, at 13:57, Chris Green wrote: > Is it possible to tell dnsmasq not to use one IP address in a > dhcp-range assignment? I have a user on my LAN who has set > 192.168.1.121 in their system as their IP address and it's in my > dhcp-range=192.168.1.80,192.168.1.223,12h > > (I think they originally used dnsmasq's DHCP to get 192.168.1.121 so > it's unlikely to get re-assigned but better safe than sorry) > > > As a follow-up I guess that if I want dnsmasq to return a system name > for 192.168.1.121 (which it hasn't assigned itself) I'll need to add > it to /etc/hosts on the dnsmasq system. >
Would setting a dhcp-host reservation for that IP address, allocated to a non-existent MAC address, achieve the desired result? -- Alex _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
