OPNsense Forum

English Forums => General Discussion => Topic started by: testablet007 on August 14, 2025, 03:16:23 AM

Title: Access devices using hostnames across different networks.
Post by: testablet007 on August 14, 2025, 03:16:23 AM
I have remote networks connected site to site using Tailscale. No VLAN
I can ping devices using IP address. I just want to access it using its hostname.

Site A
network: 10.10.0.0/24
domain: siteA.lan
override
domain: 0.20.10.in-addr.arpa
ip: 10.20.0.1

Site B
network: 10.20.0.0/24
domain: siteB.lan
override
domain: 0.10.10.in-addr.arpa
ip: 10.10.0.1

Opnsense version: OPNsense 25.1.12
DNS: Unbound & Adguard

Tailscale
version: 1.84.2
acl: default-allow all

Firewall rules:
*Redirect DNS requests to internal DNS resolver.
*Default allow LAN to any rule.

Is this possible using Tailscale? Is there a rules or settings that I miss for this to work?

Thanks
Title: Re: Access devices using hostnames across different networks.
Post by: viragomann on August 14, 2025, 01:05:13 PM
Add a domain override for the remote domain to Unbound and point it to the remote DNS server.

Remember that you have to use the FQN to access hosts on the remote site.