this post was submitted on 14 Feb 2026
43 points (97.8% liked)

Selfhosted

56953 readers
2120 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hello

So I set up pihole on my new raspi, and when i set custom dns server (local address, 192.168.x.x) on mullvad, it stops resolving. It resolves for about 10-15 seconds, but then after that, it stops resolving.

The pihole works without mullvad, and mullvad works without custom dns being set up. I have tried on multiple machines (mac)

Anyone experienced this and anyone know of a fix?

I will probably get in contact with mullvad and see if they have any insight.

TIA

all 9 comments
sorted by: hot top controversial new old
[–] in_my_honest_opinion@piefed.social 4 points 3 weeks ago* (last edited 3 weeks ago) (1 children)
[–] osanna@thebrainbin.org 1 points 3 weeks ago (1 children)

interestingly, it resolves it. hmm. I don't know. I tried a few domains after a while of having the custom dns set up, and it resolved all of them.

Which DNS server is hitting first your local pihole or the remote mullvad one?

[–] osanna@thebrainbin.org 3 points 4 weeks ago

btw, I have set local connection to true

[–] scott@lem.free.as 2 points 3 weeks ago

You will need to be more specific on your configuration for us to provide a more comprehensive response.

I have Pihole configured with Mullvad as the primary upstream DNS provider (albeit with DoH).

Just make sure you're using IP addresses for the upstream Mullvad DNS servers since you won't be able to resolve their names without first having DNS (i.e. chicken-egg).

[–] Natanox@discuss.tchncs.de 2 points 4 weeks ago (1 children)

Doesn't your local DNS has to reach out to another DNS to query yet unknown addresses, causing an infinite loop as it's now told to reach out to itself?

[–] osanna@thebrainbin.org 4 points 4 weeks ago

nah, the pihole is set to every dns available minus google for external addresses.

[–] paultimate14@lemmy.world 2 points 3 weeks ago

I have had issues in the past with bad SD cards on my pi-hole that cause it to stop working after a few minutes. I know you said it works fine without Mullvad, but was that just a quick verification or an extended long-term test with traffic?