Use a custom HttpClientHandler to do fake/custom DNS resolution #1425
-
I'm trying to use reverse-proxy to route requests to different server that respond on the same domain name. Two different server: only a.a.a.a can be resolved via DNS lookup. How can I route https://localhost/first/*** to a.a.a.a and https://localhost/second/*** to b.b.b.b if I need to proxy out the request always with the same destination host url? With an HttpClientHandler I can put my DNS resolution logic looking for some custom variables. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The URL sent in the SNI and Host header fields can be configured independently of the name/IP of the destination host. By default they are set to be the same, but can be configured with transforms:
|
Beta Was this translation helpful? Give feedback.
The URL sent in the SNI and Host header fields can be configured independently of the name/IP of the destination host. By default they are set to be the same, but can be configured with transforms: