PVID setting works for ingress (adds tag to untagged frames passing between CPU and bridge via mainBridge port) … so DHCP server → mainBridge.
For egress, it’s tagged/untagged under bridge/vlan … so replies from DHCP clients went tagged out of mainBridge port towards CPU. So you’d have to use vlan interface with vlan-id=1 and bind DHCP server (and IP address and everything else) to that vlan interface.
Ah, yes, that makes sense. Even though VLAN 1 is default, without setting mainBridge as tagged it appears untagged on mainBridge; if I set mainBridge as tagged for VLAN1 I have to actually create a VLAN1 interface to untag the packet.
Creating a VLAN1 makes extra work for the router since it now has to tag and then immediately untag the packet on the way to the DHCP server, which, for a default LAN probably doesn’t make any sense.
Thank you for all the info, I really feel much better informed on this topic now.