Can't connect to dns from my network, but can from an external network

I changed my raspberry with supervisor to another home and now I can’t connect via dns from my wifi network.
I can connect through https://192.168.1.xxx:8123 and from an external network with myself https://xxx.duckdns.org:8123.
Any ideas?