Thanks for the report. While i agree that this regressed for you, i
think there is undefined behavior in your config in the way you specify
(br0) that didn't follow the 2.90 config specification as well.

I think for a correct configuration you need to define the dhcp-host
slightly differently because your br0 is missing - since the correct
format (also on 2.90) is:

https://manpages.ubuntu.com/manpages/focal/man8/dnsmasq.8.html#G,

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

So the br0, seems out of place - i think you can just remove the
interface name from each line, or tag it and filter for the tag:

# 1. Assign the tag "br0_net" to any request received on this subnet/interface
dhcp-range=set:br0_net,10.0.0.100,10.0.0.200,255.255.255.0

# 2. Restrict this static mapping so it only matches if "br0_net" is present
dhcp-host=tag:br0_net,1c:69:7a:xx:xx:xx,10.0.0.2,name

So in practice this is a regression, but i think it was a config error
in the first place. What do you think?

** Changed in: dnsmasq (Ubuntu)
       Status: New => Incomplete

** Tags removed: server-todo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166679

Title:
  Update to dnsmasq 2.91-0ubuntu0.24.04.1 breaks configuration with
  static mappings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/2166679/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to