Adding Irule to on GTM DNS--- Delivery -- Irules---

  • I believe you should be able to use DNS::name, instead of DNS::rrname. Then apply create the iRule in: DNS → Delivery → iRules → iRule List → creat

  • The DNS::name gives an error when trying to add to config.

  • when DNS_REQUEST {

  • switch -glob [string tolower [DNS::name]] {

  • “www.abc.com” -

  • “www.domain2.com” -

  • “www.domain3.com” -

  • “www.domain4.com” -

  • “www.domain5.com” {

  • pool external_dns_pool

  • snat none

  • }

  • }

  • }

I think you might be wanting to use DNS::question name ?

"DNS::name " operates on a resource record object (something you’ve previously created using DNS::rr)

Take a look at DevCentral - An F5 Technical Community and DevCentral - An F5 Technical Community