On 4/22/2020 9:08 AM, William Edwards wrote:
>
>> Op 22 apr. 2020 om 08:41 heeft Olaf Hering <o...@aepfle.de> het volgende 
>> geschreven:
>>
>> Am Tue, 21 Apr 2020 15:58:25 +0200
>> schrieb "William Edwards" <wedwa...@cyberfusion.nl>:
>>
>>> Ideas are welcome.
>>
>> You did not say how hosts are identified, nor did you say why exactly 
>> addresses matter in your setup.
>> If it is done based on their MAC addresses, just give each host a name.
>>
>> host-record=hostname,hostname.${dns_domain},${ipv4},${ipv6_prefix}::0323:45ff:feab:cdef
>> dhcp-host=01:23:45:ab:cd:ef,set:hostname,hostname,216000
>>
>> After all this project is called DNSmasq, not DHCPmasq...
>
> Your position is clear. What I’ll probably do is write a config file in 
> dnsmasq.d/ with dhcp-host directive from my dhcp-script, after handing out a 
> v4 lease and replacing . with :.
>

You could also use the corresponding directory option for dhcp-host.

--
John Doe

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to