minus-squarebrainscanXP@alien.topBtoSelf-Hosted Main@selfhosted.forum•Switch domain resolve between local and publiclinkfedilinkEnglisharrow-up1·1 year agoIt´s easy in AdGuard: - Go to Filter -> DNS Rewrites - Add a new DNS-Rewrite - Domain: dsm.example.com - IP: 192.168.1.200 Now every client in LAN or Wifi connects directly to 192.18.1.200 while opening dsm.example.com. Outside the local network they will connected to the public IP. linkfedilink
It´s easy in AdGuard:
- Go to Filter -> DNS Rewrites
- Add a new DNS-Rewrite
- Domain: dsm.example.com
- IP: 192.168.1.200
Now every client in LAN or Wifi connects directly to 192.18.1.200 while opening dsm.example.com. Outside the local network they will connected to the public IP.