Forum Discussion
Kamao
Nimbostratus
Apr 16, 2014FAILED selecting pool based on DNS reverse lookup result.
Hi,
I want to select pool based on DNS reverse lookup result for SMTP connection, but it not worked and following log appeared in /var/log/ltm.
iRUle:
when CLIENT_ACCEPTED {
NAME::lookup @ [IP...
IheartF5_45022
Nacreous
Apr 16, 2014Hi you might be able to use geo-location https://devcentral.f5.com/articles/new-geolocation-capabilities-in-v101.U04lXUp--M8 for what you are trying to do also but I think this is how you use a reverse lookup;-
when CLIENT_ACCEPTED {
if {!([domain [RESOLV::lookup inet -ptr [IP::client_addr]] 1] eq "jp")} {
pool SMTP_AUTH_Pool
else {
pool SMTP_Fallback_Pool
}
}
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