[Dnsmasq-discuss] Dhcp-host format

john doe johndoe65534 at mail.com
Mon Jan 24 06:33:51 UTC 2022


On 1/24/2022 6:27 AM, starwatcher22 wrote:
> I have seen the dhcp host directive formatted two ways:Dhcp-host (MAC), hostname, IP, lease time --And--Dhcp-host (MAC), IP, hostname, lease time They both work with no errors.Is there a difference between the two?

The man page (1) says:

"--dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][tag:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]"


It might work in an other form depending on the number of arguments you
provide but the supported way is the documented one!!! :)


1)  https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--
John Doe



More information about the Dnsmasq-discuss mailing list