How to handle DNS at the firewall

view full story

http://serverfault.com – I'm running in to a mental roadblock trying to figure this one out. We have a Juniper firewall at our office and we do a lot of port forwarding to reach internal services that we need to access from the outside. For example, our build server lives at http://machine1:8190 so we forward all requests on that port at the firewall to the internal machine on the same port. Instead, I want to access the build server at http://build.mydomain.com. Internally I have the DNS setup to point to our nginx server running a reverse proxy so that all internal requests for http://build.mydomain.com get proxi (HowTos)