Forum Discussion
John_Alam_45640
Mar 19, 2014Historic F5 Account
Check out this page, it has examples: https://devcentral.f5.com/wiki/iRules.DNS__answer.ashx
There are easier ways to redirect to an error page:
1) Fallback URL in the HTTP profile.
2) Priority groups
3) HTTP::redirect http://1.2.3.4/Sorry.html