[SOLVED] replaced router (for another reason) and new model works fine somehow

Hey guys, my Firefox on Android cant open selfhosted services using DNS host names on home wifi.

I moved to a new place, got new router, configured server with new local IP. On PC everything works fine, but on Android Firefox I get “Address Not Found” when I try to open local hostname. Using IP:port works, but its been working fine before we moved. Chrome on Android works fine, desktop PC works fine.

Im running pihole and nginx proxy manager on server (I reconfigured pihole, but settings should be the same as before). I have set server IP in router DNS settings. I have set static IP for wifi network on phone and DNS address of server (I think I didnt need this before, but now it doesnt work in chrome without it). I have 2nd pihole on rpi4 as secondary DNS server on both router and phone settings, but its not in use yet. When I reconnect to wifi firefox can open the page for like first 20 sec and then it stopps working.

What am I doing wrong? Ive been using firefox on android exclusively before we moved

      • @graveyardchickenhunt
        link
        2
        edit-2
        9 months ago

        As per the link you would have to set up the Canary domain. On pihole you can add custom domain names and that should be enough.

        Reading the documentation again you should even just be able to blacklist the domain and it’ll make Firefox use local DNS in the network.

        • @[email protected]OP
          link
          fedilink
          1
          edit-2
          9 months ago

          It took me a while because I replaced 2 routers in meantime. Thanks for tips, but didnt have time to try them. And seems like new router solved the problem somehow. I think it was something with ipv6 that was active while disabled, but just guessing. They replaced 1st router (ZTE) because it had super poor wifi and 2nd one (huawei) because ui was buggy and couldnt change some settings. New huawei seems fine for now and reverse proxy works great.

          Thx for help