[Dnsmasq-discuss] dhcp-host wildcard matching
Swarvek Swiac
swav at red-grp.com
Sat Nov 9 21:23:12 GMT 2013
Hi
I had a look at the documentation but couldn't find if there is a way to do wildcard match for host name in dhcp-host option. I'm not after anything fancy, just simple substring search.
In my case I'm trying to set specific options for Android devices, unfortunately the vendor-class being sent by some devices is just "dhcpcd" followed by version (e.g. dhcpcd-5.5.6). The only way to filter them out is by hostname which always starts with "android" followed by either underscore and then mac address (e.g. android_0016DC6B7960) or hyphen and series of numbers (e.g. android-4701ead57dcd49c1).
Best regards
Swav
More information about the Dnsmasq-discuss
mailing list