Re: [Dnsmasq-discuss] Domain not applied correctly when reading DHCP lease file

2023-12-08 Thread xeyrion
Awesome, thanks for the fix! On Sun, Dec 3, 2023 at 11:30 AM Simon Kelley wrote: > > You're pretty much correct. the code that reads the leases file runs > (for good reasons) before the code which looks at the addresses of the > local interfaces, so domain configs which are predicated on the >

Re: [Dnsmasq-discuss] Domain not applied correctly when reading DHCP lease file

2023-12-03 Thread Simon Kelley
You're pretty much correct. the code that reads the leases file runs (for good reasons) before the code which looks at the addresses of the local interfaces, so domain configs which are predicated on the interface come out wrong.

[Dnsmasq-discuss] Domain not applied correctly when reading DHCP lease file

2023-11-23 Thread xeyrion
I have the following config: dhcp-fqdn domain=example.com domain=eth1.example.com,eth1 dhcp-range=10.0.1.100,10.0.1.200 eth1 is 10.0.1.1/24. When a client, e.g. host1, makes a DHCP request on eth1, it is correctly assigned host1.eth1.example.com as its FQDN. Lease file is written correctly, and