this post was submitted on 22 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hello guys,

I'm trying to get Domain Names to work inside my Tailnet. My setup is a Tailscale Docker container running inside a docker network. The DNS server (dnsmasq) is also running inside this docker network. Tailscale uses --advertise-routes=172.18.0.0/16 to expose the docker network and so the DNS server is theoreticly reachable over the Tailnet with the IP 172.18.0.x, but I just cant figure out, how to tell my phone to use this as its DNS server.

I would also like to still have another 'real' DNS server configured for my phone, so I dont have to use my selfhosted DNS server for every DNS lookup. From what I could gather already, Private DNS on android is an option, that might work, but when I tried it, I couldnt enter my DNS servers IP address and then, from how I understand it, this is my only DNS server configured for the phone.

I hope I could describe my problem as good as possible and someone is able to help me out. :)

you are viewing a single comment's thread
view the rest of the comments
[–] mabernu@alien.top 1 points 11 months ago

I solved that setting up as "exit node" into the phone app a node into tailnet with the dns server configured. I mean, wherever node inside of your tailnet should working against your dns server and you can use it like "exit node".