F5 BIG-IP/GTM response AAAA delay

My F5 GTM version is 11.4.1. It does not response AAAA record at first time. When it retries, I got the right answers. I got about 5 seconds delay. How can I resolve this problem?

Where was that capture taken - on the client, or on the GTM ?

If it is a WIP you should enable IPv6 NoErrorResponse on the WIP -- this is assuming there is no IPv6 address response available.

you can apply iRule under listner section

  • BIG-IP 12.x and later:
  • when DNS_REQUEST {
  • if {[DNS::question type] equals “AAAA” }{
  • DNS::header rcode NOERROR
  • DNS::return
  • }
  • }
  • BIG-IP 11.6.x and earlier:
  • when DNS_REQUEST {
  • if { [DNS::rrtype] equals “AAAA” } {
  • noerror
  • }
  • }