this post was submitted on 19 Feb 2024
25 points (93.1% liked)

Selfhosted

40023 readers
1270 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.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've been slowly moving access to my Self hosted services from multiple WireGuard VPN connections over to tailscale for that nice flat network feel. One thing that was holding me back from the switch was that I liked vpn'ing my internet traffic from my phone and laptop back to my network and into the PiHole to avoid ads/tracking when I was away from home.

Then I found the DNS settings on the tailscale admin console and everything lit up! I added the server that PiHole is running on as a nameserver and changed the global settings and BINGO! No ads!

Unfortunately.... A few days later when looking at my PiHole admin console I realized that the PiHole that I set up at my parents house for them was one of the biggest clients.....Not optimal.....

Is there a way to make an exception to the global DNS setting? Any suggestions? I don't want to remove their PiHole from my tailnet as it makes it much easier to maintain.

you are viewing a single comment's thread
view the rest of the comments
[–] eagertolearn@discuss.tchncs.de 10 points 8 months ago (1 children)

You can use --accept-dns=false flag for tailscale on your parents pihole. That makes it ignore the tailscale dns settings and move on.

It is step 1 on tailscale pihole guide

[–] padook@feddit.nl 3 points 8 months ago

Slaps forehead I know I read that guide too....whether I forgot about it or thought that would do something else... Thank You!