I am using Tailscale to connect my Beryl AX to my home router (OpenWRT Redmi AX6000) running as an exit node. The goal is to be able to browse my home network as if I were there and to encrypt my internet data via my home internet. This is mostly working - I can browse the internet, traceroute shows traffic is going via my home routers Tailscale IP, and I can access devices at home via their IP address. However I cannot access my devices at home via name, it does not resolve. How can I get devices on the travel router to use the DNS at home so I can access devices via their hostname, as if I were connected locally?
Probably can try adding the home DNS in the Tailscale central I guess, but not surely if it can work.
can other tailscale devices access the home devices via the domain hostname?
Thanks for the reply. This didn't work unfortunately. If I use tailscale directly on my phone with the exit node, I can access devices at home via their hostname - but if I connect my phone to the Beryl AX and turn off tailscale on my phone, I can only access them by IP.
Seems that the router does not support local domain name via vpn, espeically like "mycomputer", "mycomputer.lan" etc.
If there is not much, you can add these as hostname in the client router.
Go to DNS settings and add hosts.
I worked out a solution to this. The main issue is conflicting local DNS names. My home router is also OpenWRT so was using the default .lan local DNS name. The Beryl AX was set to not forward the /lan/ domain and was trying to resolve them locally which clearly failed (since the host I am trying to access is only known to my home router). The solution was to change the local domain of the travel router to something different in LuCi (I chose .travel for now). I then added my home routers local IP in the DNS forwardings section. I also unchecked "Domain required" so I could access my home devices without appending the .lan suffix as I can when at home. The final step was to ensure that DNSMASQ on my home router covered the tailscale interface, as well as all my local interfaces. Now everything resolves as if I am at home as all DNS queries are sent to my home router over tailscale. I also opted to force all clients to use my home DNS by enabling "Override DNS Settings of All Clients" (in the normal settings, not LuCi) but it will work without.