I am trying to work something out.

Consider a private network that connects to the Internet via a proxy server.

When a request arrives at the proxy server that requires forwarding does the proxy perform the DNS lookup and then forward the request, or does it just forward the packet on.