[Dnsmasq-discuss] Some MAC addresses recognised, others not, in dhcp lines
johndoe65534 at mail.com
Sun Aug 4 11:33:15 BST 2019
On 8/3/2019 10:50 PM, Chris Green wrote:
> I'm running dnsmasq version 2.76 on a raspberry pi to provide DNS and
> DHCP services on my LAN.
> I have some dhcp-host lines in my configuration file to give names to
> systems that don't give their names, e.g.:-
> Most of these work but a couple don't work.... ..and I think I have
Which one are not working?
The URL (1) might be of interest to you.
> just realised why they don't work. Systems which don't request their
> IP address from dnsmasq don't provide dnsmasq with their MAC address
> and thus dnsmasq doesn't give them a name.
By that you mean that you have fix addresses on some hosts and there are
not static leases in dnsmasq?static in the dnsmasq?
> Presumably these static IPs must be put into /etc/hosts on the dnsmasq
> system, is this the only way of handling this?
If you can move away from fix addresses, static leases might be an option.
If you can't move away from fix addresses, as you hinted out you will
need to look at the host file/host file options in dnsmasq or the
'address' option in dnsmasq.
More information about the Dnsmasq-discuss