Forum Discussion

rlb63_75866's avatar
rlb63_75866
Icon for Nimbostratus rankNimbostratus
Sep 30, 2012

GTM irule question

Hello everyone. I hope this is the proper discussion area. I am faced with a need to control a cname response from a GTM pool that is being returned to a client even when the pool members are marked down. Apparently this is by design because the cname field in the gtm pool setup takes precedence oer any pool members. Would an gtm irule be a good fit to not return a cname if a pool is down? If so, anyone have any idea of the syntax.

 

Thanks

 

1 Reply

  • need to control a cname response from a GTM pool

    Do you mean to say:

    I need to specify a response to queries to the wide_ip when the query_type is CNAME ?

    Would something like this work:

     
    when DNS_REQUEST {
      if {  [DNS::rrtype] eq "CNAME"  } {
        cname "www.mycompany.com"
      }
    }