Forum Discussion

iRule's avatar
Icon for Cirrus rankCirrus
Aug 14, 2021

Block requests from specific domain to my web application

Dear Community,

I need to block all http & https requests initiating from a specific domain to my web application . Please inform how we can acmmplish this from LTM iRule, LTM Policy or ASM Policy.

1 Reply

  • Hi iRule,


    with iRules it could be done with the commands RESOLV::lookup or NAME::lookup. However both commands have been deprecated in BIG-IP 15.1.

    Just a comment - if there is no PTR record for the domain this way of blocking won't work.