Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-04 Thread Dominik Derigs
Hey Petr, On Mon, 2021-10-04 at 11:45 +0200, Petr Menšík wrote: > Perhaps a flag could be added to dhcp-range, requesting also > addition of dhcp-hosts to static dns. Maybe this flag would better be set on --dhcp-host and --dhcp- hostsfile if this is used? This would feel more "natural" to me. I

Re: [Dnsmasq-discuss] HA Cluster - IPv6 router adv lifetime of 0

2021-10-04 Thread Jochen Demmer via Dnsmasq-discuss
Hi, I'm sorry for being unclear. There is a cluster of two firewalls (active passive). The clients use the link local address as their default gateway. I want to initialize a manual switch: The primary becomes secondary, the old secondary becomes primary. As the router advertisements for the cl

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-04 Thread Petr Menšík
Hi Alkis, I think you can use addn-hosts for name<=>IP address mapping and use dhcp-hostsfile just for mac address assignment to existing pair. But it prevents ability to create one file the other one, because primary data are split into two files. I guess creation of addn-hosts from dhcp-hosts by

Re: [Dnsmasq-discuss] DNS from dhcp-host while client is offline

2021-10-04 Thread Alkis Georgopoulos
Thank you Petr, indeed I wouldn't mind at all to add a `,forever` in these dhcp-host lines if it automatically added them to DNS without having to boot them. Or to use a `dhcp-range=,some-flag` syntax. Fortunately a script that converts from dhcp-hosts to addn-hosts was rather easy to imp