I need to run a second instance of dnsmasq as a pure dns forwarding server.
I am trying to disable dhcp on that second dnsmasq instance from luci and I could not find any obvious option. There is an option "Ignore interface" at the interface level but it will disable dhcp for both instances which I do not want.
Can I rely on the "Max. DHCP leases" option and setting it to 0? Logically, not granting any DHCP lease should be as good as deactivating DHCP. Am I missing something with this setup, do I run the risk of a conflict between both dnsmasq instances?
Thanks! Noted your point, do you kow which setting in the config file would be able to disable DHCP only for that 2nd dnsmaq instance? Even in the config files, the only related settings I can find are interface level, not instance level.
This is very interesting, please correct me if I am wrong
1- it would create a VLAN called "lan2"
2- The second dnsmasq instance attaches to lan2
3- I can now disable DHCP in lan2 via luci
I have few basic questions: wouldn't lan2 have the same IP as lan in this setup - would this cause any issue? Would devices connect to lan safely ignoring lan2?