24
submitted 1 month ago* (last edited 1 month ago) by inanimate_carbon_rod@lemmy.zip to c/selfhosted@lemmy.world

I've got a modest homelab setup: a couple computers and a server with the pfsense router pointing all DNS queries to my pi hole on a Pi Zero W. The server exposes a few services via cloudflare tunnel. It's been working pretty well.

Then I started setting up a server for a friend. It's a big repurposed server board running proxmox and will eventually have a handful of VMs and LXCs, all on a network. It's for his business, so I'm setting up Netbird on it for his half-dozen employees to be able to access it for fileshares and stuff. I'm connecting my Linux desktop, too, so I can do sysadmin for him.

The trouble is that domain name resolution is getting hairy between my pihole and his netbird. Since it's not my network, I can't add my pihole as a DNS resource, but I do need to keep a connection to his network.

Anyone have any wisdom to share as to how to handle this properly and still be able to use my pihole for DNS filtering in my house?

all 12 comments
sorted by: hot top new old
[-] frongt@lemmy.zip 24 points 1 month ago

It’s for his business

Nope. Nope nope nope. You don't want to be the one responsible for anything when he and his employees are having problems, especially at odd hours or when you're not around to fix something.

[-] diecknet@discuss.tchncs.de 5 points 1 month ago

Depends on if the friend is paying for the service :P

[-] inanimate_carbon_rod@lemmy.zip 6 points 1 month ago

And he is :)

[-] NarrativeBear@lemmy.world 7 points 1 month ago

I have no netbird experience, but if it's just like wireguard can you split tunnel instead of full tunnel to your friends network?

I think with a split tunnel you should still be able to access his network and resources?

[-] inanimate_carbon_rod@lemmy.zip 3 points 1 month ago

I haven't come across a way to split tunnel, but it's worth looking into. I'm managing it all by CLI anyway, so maybe there's a command for that.

[-] statelesz@slrpnk.net 3 points 1 month ago

NetBird is based in WireGuard and using split tunneling by default.

[-] statelesz@slrpnk.net 3 points 1 month ago
[-] diecknet@discuss.tchncs.de 2 points 1 month ago

I use Netbird and Pi-Hole, but I don't understand what issues you're having. If you're connected to Netbird, you should be able to use the Netbird DNS names to reach other devices, e.g. fileserver.netbird.cloud

[-] inanimate_carbon_rod@lemmy.zip 2 points 1 month ago

That part has worked fine so far. My trouble seems to be that my desktop is defaulting to netbird for DNS instead of the pihole, so I lose the pihole blocking. I suppose the easiest solution is just to netbird down when I'm not using it so DNS goes back to default.

[-] diecknet@discuss.tchncs.de 4 points 1 month ago

Ah, understood. It depends on your client OS, e.g. for Linux it should be possible. You just need to configure no nameservers in Netbird: https://docs.netbird.io/manage/dns#default-behavior-no-nameservers-configured

[-] StripedMonkey@lemmy.zip 2 points 1 month ago

If you set up resources correctly on his netbird network it effectively is a split tunnel. You don't have to route anything through it but his "file shares and stuff".

I have a rather gnarly nested double nat within my house where the homelab is isolated behind it's own separate firewall and have some limited resources on both. It's been perfectly serviceable.

I believe I have a resource of *.whathaveyou.net on the netbird gateway inside the network and no default route. If you do have that default route I believe you can have it as a separate resource and disable it.

Self-hosted netbird is pretty incredible to be honest.

this post was submitted on 20 Oct 2026
24 points (96.2% liked)

Selfhosted

64240 readers
414 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS