how to set up a split-horizon DNS and make it work between VLANs

how to set up a split-horizon DNS and make it work between VLANs

how to set up a split-horizon DNS and make it work between VLANs
how to set up a split-horizon DNS and make it work between VLANs
Yesterday - last edited 3 hours ago
Hardware Version:
Firmware Version:

router is ER7212PC v1.0

controller 5.14.34.4

 

I have an nginx server on VLAN100. I have ACLs in place to allow traffic between this VLAN and other VLANs. ACLS are in place to limit traffic between other VLANs.

I have DNS server (AdGuard) running on a trunk-line with an IP address defined on each VLAN and this DNS server is specificed in all omada networks (site settings > wired networks > LAN > Networks > DNS Server > manual)

 

The DNS server rewrites queries to my webiste to the nginx server's  IP address on VLAN 100. it all seems to be working well. I can access my services from home and outside.
However, and here is my issue, NGINX logs are not showing any internal IP that calls the on the nginx server. it instead shows my public ISP IP address.

 

is this the expected behaviour? I would expect it to show the internal IP address 

 

  1      
  1      
#1
Options
3 Reply
Re:how to set up a split-horizon DNS and make it work between VLANs
Yesterday

  @HomeAssistant_1 

 

There is a bug in router firmware that is being fixed in the latest updates - if port forwarding is enabled internal LAN<>LAN routing shows WAN IP instead of LAN IP on target device logs

 

Not all routers have the fix yet

  0  
  0  
#2
Options
Re:how to set up a split-horizon DNS and make it work between VLANs
Yesterday
Thanks. So do you expect the ER7212PC v1.0 to get this fix? Or is it close to end of life and won’t get it?
  0  
  0  
#3
Options
Re:how to set up a split-horizon DNS and make it work between VLANs
Yesterday

  @HomeAssistant_1 

 

No idea

  1  
  1  
#4
Options