Server1 - server1.foo.bar
Server2 - server2.foo.bar
What I did before when I used my DD-WRT router was to set custom DNSMasq entries:
address=/server1/server1.foo.bar/192.168.x.x
address=/server2/server2.foo.bar/192.168.x.x
When I migrated my network to Astaro's solution I was unable to get the same result as I did with my DD-WRT router and it's DNSMasq. When I used the Static DNS entries it only worked for HTTP(non-encrypted web) traffic. (Yes, I was using the HTTP/S relay with HTTPS enabled) When I used Full-NAT rules described here(with some modifications) I could only access the first server in the list as Astaro would look at the packet's header, see that the IP is it's external address(all DNS entries point to the external address) and forward all traffic for that address to the server. That's the desired result except that it only works with the first server as it is satisfied with the routing after the first entry. (Full-NAT would work perfectly if instead of looking at the packets destination IP Address, it would look at the packets destination DNS Address. You'd also need a new Network Definition type to define a DNS Address instead of a DNS Address that translates to an IP Address.)
For now I'm stuck using my DD-WRT router as DHCP and DNS because I can't find a way to make Astaro's local DNS server work the same way as the open source firmware on my router. Is there any way to get DNS Redirects working the way I want(even if it means editing config files on the Astaro server)? I'm using a bring your own box ASG 8.003.
This thread was automatically locked due to age.