Struggling to set custom DNS
I want to put all traffic through my PiHole but I have no DNS options in the Network settings.
Whats the best way to achieve this on Bazzite?
14 Replies
I use pihole, but i just have the dhcp server assign the pihole dns servers - or are you trying to manually assign them?
I use a PiHole DNS server, and if you manually configure your IPv4 network in the network settings you should have an option for the DNS servers to use.
If you are on gnome it might look different, but it should also have something similar.

This looks familiar, I’ll check it out when I’m home later 👍🏻
So is it as simple as just adding the PiHoles IP to the Other DNS Servers box and apply?
Should be
It didn’t unfortunately…basically my Pi runs OMV as a NAS, I installed PiHole on Docker just to play around with it, but there were some issues with hosts or something.
Interesting, mine is also running in Docker. Are you sure you've got pihole running on port 53 and properly exposed?
So that’s what I was trying to investigate, but I was going round in circles with ChatGPT so I nuked it all and will try it another time. Tempted to get another Pi just for it.
You should really consider setting your router's DNS server to the pihole so clients can pull it with DHCP.
It's a mess to do it on every single client, and even if you set it up right on each client, your router might decide to overwrite the client's DNS settings anyway.
I would but I have an ExpressVPN Aircove so it all goes through their DNS at router level. I’d prefer to have some clients just use the PiHole.
My aim is to ditch it and get a GL.inet router and go back to Mullvad.
You need to set DNS-Cache and DNS-StubListener in OMV to no or else the port 53 will already be in use by systemd-resolved and the docker container won't start:bobofrfr:

I’ll give it a go, thanks.
Also don'T forget to run
systemctl restart systemd-resolved
or restart omv afterwards