Does someone has a working recipe for individual domains per vlan? Like VLAN 1 gets vlan1.home.arpa and VLAN 2 gets vlan2.home.arpa? My search engine usage skills do not reveal any useful results.
I'm looking for details on where, what, and how I should set in /etc/config/dhcp: local, and domain, and I would like to know if you use local config overwrites/additions via conf-file=/etc/dnsmasq.conf.
I have a somehow working setup but this is rather cumberstone, and still has issues with PTR for DHCPv6 assignments from 2000::/3.
And I'm still not sure if I'm holding it wrong, or if I have found a config generation bug, present in 21.03 and 22.03, but on 22.03 it causes dnsmasq to crash.
I do really like links without any explanation... /s, but do you want to say I need individual dnsmasq instances in /etc/config/dhcp and can not do it with a single one?
Edit: And does this solve my issue that everything is working except IPv6 GUA?
AFAIK the client uses the dhcp-option domain-name just for feeding its /etc/resolv.conf (creating a search option). I think, it does not generate any PTR data on the router. Perhaps somebody else can jump in.
Because https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html indicates that its a totally valid use-case having multiple domains in --local like --local=/home.arpa/vlan1.home.arpa/vlan2.home.arpa/ and having set --domain multiple times, too within a single config for a single process.
From what I have tried you cannot define the option domain multiple times in uci, or the last entry will prevail.
If you try with list domain it is not recognized.