this is likely this issue as I did the same thing and it seems to have resolved the issue
I connected to at least 4 MS techs about this issue and none of them had the slightest idea about how to troubleshoot this problem.
it goes back to LAN support as far back as win 95 as far as networking on Windows and the current techs have no clue.
One tech told me to forget it because it was merely a "legacy" issue
"legacy"of the home networks. As I won't run a DC (domain controller) in a network with a NAS and a couple of PC's. DNS request are solved by my router. NETBIOS is used to detect devices when there's no DNS. Indeed, one of the earlier things used in the first networks, where there was no DC in simple corporate networks. But they can't expect a home user with a very limited network to setup a DC.
It is strange when you got your settings right in Windows 10 and upgrade to Windows 11, you ought to figure out what went suddenly wrong.
Then most helpdesks (not only Microsoft) are populated with a couple of unexperienced people, reading a couple of scenario's from their charts. Then you get that kind of answers.