Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Vladyslaw's avatar
Vladyslaw
Icon for Nimbostratus rankNimbostratus
Feb 26, 2020

iRule: How to redirect dns request for specific domain to another pool?

Hello,

I am looking for a way to redirect requests for specific domain to another DNS pool.

I tried to use this iRule, from the log I see the match but from Wireshark there is still responses from default DNS server.

when CLIENT_DATA {
    if {[UDP::payload] contains "cisco"} {
      log local0. "match [UDP::payload]"
      pool Cloud_Flare_Pool
      }
    else {
           log local0. "not match [UDP::payload]" 
      }
}

2 Replies

  • Thanks for the answer,

     

    The code that I wrote above worked after I cheked DNS profile in Virtual Server.