Forum Discussion

Brandon_12607's avatar
Brandon_12607
Icon for Nimbostratus rankNimbostratus
Apr 05, 2016

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
  • }
  • }
  • }