Help understanding DNS Server & NAT Loopback

Currently reading
Help understanding DNS Server & NAT Loopback

fredbert

Moderator
NAS Support
Subscriber
2,585
1,047
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I use VPN Plus on SRM and have set the same local DNS servers as I use for home LAN/WLAN devices via DHCP. Don't have any issues creating a VPN tunnel and doing a lazy SSH server of 'imac', since I have DHCP domain name set to my DNS's master zone domain.

Just tested to confirm this using Prompt 2 (SSH app from Panic) on my iPhone over an OpenVPN tunnel when on mobile data.
 
142
31
jonohunt.design
NAS
DS1019+, DS218+, DS416play, unRAID
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. macOS
  3. other
Mobile operating system
  1. iOS
I use VPN Plus on SRM and have set the same local DNS servers as I use for home LAN/WLAN devices via DHCP. Don't have any issues creating a VPN tunnel and doing a lazy SSH server of 'imac', since I have DHCP domain name set to my DNS's master zone domain.

Just tested to confirm this using Prompt 2 (SSH app from Panic) on my iPhone over an OpenVPN tunnel when on mobile data.
Great, thanks for confirming that! (y)
 
1
0
NAS
DS414
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. iOS
I read somewhere about NAT Loopback and if used with your own domain name and it will connect through the local network instead of connecting to it through the internet back home to the NAS. Is that correct?

If so, if I wanted to setup DNS Server on my RT2600ac instead of the DiskStation presumably I'd set the Primary DNS to the IP address on the RT2600ac (192.168.0.1) and that would automatically go through DNS Server on the router?
Hi Jono,

sorry to jump into your thread but I am trying to do a similar thing to what you are doing but without success.

I have an RT2600AC as primary router and I would like to set it up such that when whatever device on my network try to reach example.net it is redirected to a local IP (ex. 192.168.3.100), while all the rest remains unchanged (i.e. all other requests goes to a public DNS server, for example 1.1.1.1).

Reason is use Bumper which requires to re-route "call home" request from Ecovacs Deebot to internal IP address (link)

Do you have any suggestion how to achieve this?
 
142
31
jonohunt.design
NAS
DS1019+, DS218+, DS416play, unRAID
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Linux
  2. macOS
  3. other
Mobile operating system
  1. iOS
Hi Jono,

sorry to jump into your thread but I am trying to do a similar thing to what you are doing but without success.

I have an RT2600AC as primary router and I would like to set it up such that when whatever device on my network try to reach example.net it is redirected to a local IP (ex. 192.168.3.100), while all the rest remains unchanged (i.e. all other requests goes to a public DNS server, for example 1.1.1.1).

Reason is use Bumper which requires to re-route "call home" request from Ecovacs Deebot to internal IP address (link)

Do you have any suggestion how to achieve this?
I ended up setting this up for lots of domains/subdomains for different services by adding the master zones in DNS server (look through page 1 off this thread), and using the reverse proxy in my DiskStation to determine which domain/subdomain routes to which device and port.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I found it by first ps -ef | grep -i dns to find a process with /var/packages/DNSServer/target/named. Then...
Replies
7
Views
464
I'm not sure how these permissions can be set on Synology systems, but with Windows AD and DNS admins have...
Replies
1
Views
567
My router doesn’t allow Nat loopback and I can’t get the built in dns server to work with my current...
Replies
15
Views
1,741

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top