Due to changes in my living situation, I’ve switched from running Pi-Hole on a headless machine on my network, to running it locally on my main PC; which runs EndeavourOS.

Pi-Hole is working well; with my networking settings set to use 127.0.0.1 and ::1 to point to localhost for DNS, but I can’t boot Waydroid unless I either comment out the dnsmasq lines in /usr/lib/waydroid/data/scripts/waydroid-net.sh, or stop pihole-FTL.service.

Stopping pihole-FTL.service, of course stops Pi-Hole, and commenting out those dnsmasq lines disables networking in Waydroid.

I’d like to be able to get Waydroid running with networking, and preferably get it to use Pi-Hole as its DNS resolver. I understand the reason Waydroid won’t boot normally in my case is because it does some weird stuff with dnsmasq and port 53, which conflicts with Pi-Hole.

I should also mention that I’m also using ufw for a firewall, with default deny incoming and default allow outgoing set.

  • Disorder6069@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Totally forgot the services line - I pulled that from my own docker compose that uses another container to tunnel all my DNS traffic to Cloudflare via HTTPS instead of bare DNS (for privacy from ISP snooping, for what it’s worth)… It’s fine to put your own user in the docker group as long as your account is reasonably secure and it fits with your security model. IPv6 resolution should work out-of-the-box with that config - it’ll just use IPv4 to communicate with your PC and upstream DNS (it can still resolve AAAA records over that connection). I don’t personally use Waydroid so I have no idea why it’s still not working but, as you said, it seems like a step in the right direction

    • mrbigmouth502@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      Question, if I have IPv6 disabled on my system, do I need to keep my upstream IPv6 DNS providers enabled in Pi-Hole? Every so often I get errors saying that Pi-Hole can’t reach them.

      • Disorder6069@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        No, you shouldn’t need to enable the ipv6 resolvers - they’ll just fail anyway… even if you did have ipv6 enabled on your system, you don’t need the ipv6 resolvers - the IPv4 and ipv6 addresses are pointing to the same server regardless