I am trying to find the ip address (and not the host name) that responded to my WebRequest in C #. I do not want to do DNS resolution, because these are cases where the returned DNS records are not servers responding to the request. For example:
Client → Load Balancer → Web Server
The DNS server will respond with the Load Balancer IP address. Assuming the response web server does not return through the load balancer, then the IP address will become the actual web server that I am trying to find.
source
share