[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@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year 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.

        • rambos@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year 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

  • rambos@lemm.eeOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    That 3rd DNS is weird and also IPV6 that I havent set. IPV6 server is also disabled in router settings

  • apis@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Will take a look under my bonnet later & get back to you, but as I recall it took a whole lot of trial and error with how I enabled which aspect & in what order. None of which was in any guide, or rather, following what worked for others did not work for me, but am stubborn so got it all working alright in the end (just scared to adjust anything now).