---
title: "Preserving the RRset Order for Cached DNS  Responses"
canonical: "https://docs.infoblox.com/space/DAAG/10748058/Preserving%20the%20RRset%20Order%20for%20Cached%20DNS%20%20Responses"
format: markdown
---
By default, when a client queries a domain name, the DNS caching appliance returns the A and AAAA records of the domain name in the cyclic order. However, this default behavior can be overridden if you have enabled and configured (at the Grid level) fixed RRset order for hosts that have multiple addresses. When you override the default behavior and preserve the fixed RRset order for cached DNS responses, the DNS caching appliance returns A and AAAA records associated with domain names in the order they were received from an upstream server. You can specify the fixed RRset order for A, AAAA, or both A and AAAA records at the Grid level and override at the member and DNS view levels. Note that configuring fixed RRset order for specific FQDNs might slightly affect the performance of the DNS caching appliance.  
 To preserve the fixed RRset order for cached DNS responses at the Grid, member, or DNS view level:

1. **Grid**: From the **Data** **Management** tab -> **DNS** tab, expand the Toolbar, and then click **Grid** **DNS** **Properties.**  
**Member**: From the **Data** **Management** tab, select the **DNS** tab and click the **Members** tab -> *member* check box -> Edit icon.  
**DNS** **View**: From the **Data** **Management** tab, select the **DNS** tab -> **Zones** tab -> *dns_view* check box -> Edit icon.
2. In the editor, select the **RRset**** Order** tab -> click the **Basic** tab, and then complete the following:
  - **Enable ****fixed ****RRset**** order ****for**** following ****FQDNs:** Select this check box to preserve the configuration of RRset order for cached DNS responses.
  - In the FQDN table, specify the list of FQDN entries for which you want to preserve the RRset order. Note that you can configure a maximum of 25 FQDNs for the specified RRset order.  
You can click the Add icon and complete the following to add a new entry to the list:
    - **FQDN:** Enter the fully qualified domain name with which the A or AAAA record is associated.
      **Note:** If you enter a wildcard character as part of the domain name, the appliance considers the wildcard character as a literal character. For example, if you enter test*.com, the appliance matches the domain name with test*.com only.
    - **Record**** Type:** Select the record type from the drop-down list. You can select **A**, **AAAA**, or **Both ****A**** and ****AAAA**.
3. Save the configuration and click **Restart** if it appears at the top of the screen.