The good thing is that mDNS is not storing information in a permanent storage, so you just need to restart your mDNS network.
The bad thing is that you probably have no clue what devices are part of your mDNS network and if only one device with a faulty entry survives the restart, then it be used as a master when the other devices get online.
So when you can cut power to all devices and when all is down then start them again. Maybe cutting power to the entire house might be an option.
As a comparison to DNS, how does mDNS work? Presumably the source of the .local address comes from the server itself. So rebooting the homeassistant server itself would fix this but it doesn’t?
mDNS is without a central server. Each device listen to the communication on mDNS and make up its own list based on that.
The problem is that some network equipment can run mDNS servers that also picks this up and then reply with that information. that is why it is best to shutdown the entire network and when everything is down, then you know that no information survived.
For multicast to work in a TrueNAS VM, I think you need to either create a bridge in TrueNAS and connect your VM to that OR enable Trust Guest Filters for the NIC in your VM settings.