Forum Discussion
Send node FQDN as http header instead of virtual server FQDN
Nice! You beat me to the punch as I got distracted while preparing my response below. Note that [LB::server name] does not return the actual pool member or node name but rather a 3-element list containing the configuration name of the pool, the selected member's IP address, and service port. For example:
/Common/fqdn_pool 172.16.20.1 80
Absolutely agree on setting a default Host header if there is no match. Also, Pete's approach with a switch statement is preferable if you have only a handful of node IP addresses to map to FQDNs (up to about 15). Better performing than a datagroup.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com