This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DNS Redirect to multiple internal servers using any protocol

I have two servers in my LAN that I'd like to access using unique DNS names so references to those stay intact. The servers are:
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.
Parents Reply Children
  • Well don't suppose if anyone knows what DNS server is running on ASG.

    EDIT: Also this would be a nice feature to add to the next version of ASG. A text field in the DNS Server settings where you can specify custom DNS Server configuration settings similar to the custom DNS settings text box in DDWRT. I'm sure others out there would like to have some custom configuration settings for the built in DNS Server.