[EndeavourOS] How can I get Pi-Hole running on localhost and Waydroid to cooperate? Waydroid won't boot unless I disable its dnsmasq lines.

a day ago by mrbigmouth502 to c/linux

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.

EmoPolarbear 8 points a day ago

Why not run pi-hole in a docker/podman/lxc container/VM?

path: 0 26324638, hotness: undefined, score: 8, children: 10
mrbigmouth502 5 points a day ago

Would that make this easier? I have no experience using things like Docker or Podman.

path: 0 26324638 26324644, hotness: undefined, score: 5, children: 9
DarkMetatron 9 points a day ago

It would make it easier in that way that docker/podman container services are on an seperate internal network, this means that waydroid and pihole will not come in conflict over the dns port on localhost anymore.

path: 0 26324638 26324644 26324648, hotness: undefined, score: 9, children: 8
mrbigmouth502 3 points a day ago

I see. Would I be able to set this up so that only my machine is able to access this? I'm sharing a LAN with family and don't 100% trust all the devices on the network.

path: 0 26324638 26324644 26324648 26324650, hotness: undefined, score: 3, children: 7
DarkMetatron 6 points a day ago

The docker network is internal to the Pc, so access is by default linited to the machine. External access would need port mappings or other means of forwarding to be configured.

path: 0 26324638 26324644 26324648 26324650 26324693, hotness: undefined, score: 6, children: 6
linux
linux

@programming.dev

login for more options
15202
5333
3306

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

go to feed...