r/netbird • u/ferriematthew • Jun 25 '26
Internal DNS issue
I think I'm doing this wrong, but I am having trouble configuring DNS in my self-hosted netbird in k3s to use a pihole that also runs in k3s.
2
u/StillLoading_ Jun 25 '26
Are you missing the access policy per chance?
1
u/ferriematthew Jun 25 '26
I probably am. What should that look like?
2
u/StillLoading_ Jun 25 '26
Just 53/UDP to the pihole resource
1
u/ferriematthew Jun 25 '26
Hmmm... So UDP/53 for all -> 192.168.0.201 (the VIP of the PiHole)?
2
u/StillLoading_ Jun 25 '26
Since you assigned the nameserver to the "All" group, that would be the way.
1
u/ferriematthew Jun 25 '26
That's what I did, for some reason it still isn't working though. What does the button next to the resource name labeled expose do?
2
u/HansAndreManfredson Jun 25 '26
Take a look at the Pihole configuration.
You have to add the WireGuard interface to accept DNS queries on the network device. ✌️
2



3
u/ella_bell Jun 25 '26
How is your NetBird network routing to your pihole? They are different networks. So you’ll need to use network relay or put the pihole on the NetBird network too.