iustory @SurgeTeam this problem is the same in SurgeMac4 but the workaround is to use the rewrite rule if your DOH provider supports it. NextDNS supports rewrite rule where you can write *.home to return 127.0.0.1 or your desired IP
For nextdns, log in your nextDns account, go to settings>Rewrites
You'll see where they wrote "Set or override the DNS response for any domain. Rewrites apply to subdomains as well, and local IP addresses are supported as answers."
Then click New Rewrite
Domain:nas.example.home
Answer:192.168.10.50