[Dnsmasq-discuss] Can I tell dnsmasq not to use one isolated address in a DHCP range
Alex Morris
dnsmasq-discuss at alexmorris.co.uk
Sat Dec 26 15:13:40 GMT 2020
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
More information about the Dnsmasq-discuss
mailing list