OPNsense Forum

English Forums => 26.1 Series => Topic started by: pppp12 on March 11, 2026, 05:59:40 PM

Title: DNSMasq: Setting tags based on MAC (vendor) like 00:90:E8:*:*:* ??
Post by: pppp12 on March 11, 2026, 05:59:40 PM
Hello,

I'm moving from standalone dnsmasq to opnsense dnsmasq.
In original dnsmasq.conf file I'm setting some tags based on MAC (vendor)
dhcp-mac=set:moxa,00:90:E8:*:*:*
dhcp-mac=set:red,64:16:7F:*:*:*    # polycom vvx phones
dhcp-mac=set:esp32,80:f3:da:*:*:*
dhcp-mac=set:esp32,1C:DB:D4:*:*:*

How can I achieve this in opnsense dnsmasq. I can only see option to set tags per individual hosts.

Thanks!
Title: Re: DNSMasq: Setting tags based on MAC (vendor) like 00:90:E8:*:*:*
Post by: Monviech (Cedrik) on March 11, 2026, 06:04:18 PM
You cannot do this in the GUI but you could in the config import folder.

https://docs.opnsense.org/manual/dnsmasq.html#advanced-settings
Title: Re: DNSMasq: Setting tags based on MAC (vendor) like 00:90:E8:*:*:* ??
Post by: pppp12 on March 11, 2026, 06:19:37 PM
Quote from: Monviech (Cedrik) on Today at 06:04:18 PMYou cannot do this in the GUI but you could in the config import folder.

https://docs.opnsense.org/manual/dnsmasq.html#advanced-settings

Thanks a lot :)