iRule to determine FQDN of Web Client??

Hi Guys,

Can anybody suggest something to allow me to capture the FQDN of the requesting client and send it through to the HTTP/HTTPS server?

We’re already sending the client IP address using X-Forwarded for in an iRule, but a few user sites have .htaccess files with allow from statements using domain names i.e. allow microsoft.com.

Right now the server is not behind the F5 and the allow in .htaccess forces the Apache server to do a reverse lookup of the IP address of the connecting client.

Any ideas???

thanks

Mike

Hi Mike,

There’s a codeshare example which sounds close to what you’re looking for. Take a look at that and let us know if you have any questions:

http://devcentral.f5.com/wiki/default.aspx/iRules/Block\_requests\_by\_reverse\_DNS\_record.html

Aaron