Forum Discussion
2 Replies
Sort By
- Stanislas_Piro2Cumulonimbus
This irule is one I use to answer with different pool based on source address:
F5 GTM : Split dns irule
when DNS_REQUEST { if { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] \ or [IP::addr [IP::remote_addr] equals 192.168.0.0/16] \ or [IP::addr [IP::remote_addr] equals 172.16.0.0/12] } { pool "[DNS::rrname]_PRIV" } }
The internal pool name must be:
_PRIV
- Stanislas_Piro2Cumulonimbus
Hi,
when you created (I hope you did) the GTM listener, there is no gtm object created but a virtual server with dns profile that enable GTM and allow irule usage.