Forum Discussion
msmith_64485
Nimbostratus
Jan 25, 2010IP to FQDN
Looking for an irule that will replace the IP address of outgoing traffic with the FQDN. Issue is external server does not have a valid PTR record to allow resolution. Owner of this server does not ...
hoolio
Cirrostratus
Jan 29, 2010Posted By msmith on 01/29/2010 7:01 AM
Aaron,
If I make this change the irule will only impact the vip that is configured to use the rule correct?
That's correct--an iRule only affects the VIP(s) it's added to.
So you've made the change but the requests still fail?
You can use this rule to log the change:
when HTTP_REQUEST {
Replace the host header with www.example.com
HTTP::header replace Host "www.example.com"
}
when HTTP_REQUEST priority 501 {
Log the host header value
log local0. "[IP::client_addr]:[TCP::client_port]: Current HTTP Host: [HTTP::host]"
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects