.. _ddos_dns_cache_config:

ddos dns-cache-config
=====================

DNS Cache Settings


dns-cache-config Specification
------------------------------

	===================================== ==============================================================
	 **Parameter**                         **Value** 

	===================================== ==============================================================
	 **Type**                              *Configuration Resource*

	 **Element Name**                      dns-cache-config

	 **Element URI**                       /axapi/v3/ddos/dns-cache-config

	 **Element Attributes**                dns-cache-config_attributes

	 **Partition Visibility**              shared

	 **Schema**                             :download:`dns-cache-config schema <ddos-dns-cache-config/ddos-dns-cache-config.txt>`
	===================================== ==============================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/ddos/dns-cache-config



.. raw:: html

   </td><td valign = 'top'>


:ref:`681_dns-cache-config_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/ddos/dns-cache-config



.. raw:: html

   </td><td valign = 'top'>


:ref:`681_dns-cache-config_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/ddos/dns-cache-config



.. raw:: html

   </td><td valign = 'top'>


:ref:`681_dns-cache-config_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/ddos/dns-cache-config



.. raw:: html

   </td><td valign = 'top'>


:ref:`681_dns-cache-config_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/ddos/dns-cache-config



.. raw:: html

   </td><td valign = 'top'>


:ref:`681_dns-cache-config_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _681_dns-cache-config_attributes:

dns-cache-config attributes
---------------------------

    **disable-zone-transfer-in-oper-mode**

        **Description** Disable operational refreshing zone transfer

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **disable-zone-transfer-in-warm-up-mode**

        **Description** Disable warm up zone transfer

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **enable-cache-warm-up-bgp-advertise**

        **Description** Enable route injection during cold boot

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **max-concurrent-zone-transfers**

        **Description:** max-concurrent-zone-transfers is a **JSON Block**.  Please see below for :ref:`681_max-concurrent-zone-transfers` 

        **Type:** Object

        **Reference Object:** :doc:`/axapi/v3/ddos/dns-cache-config/max-concurrent-zone-transfers <ddos_dns_cache_config_max_concurrent_zone_transfers>`

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters

.. _681_max-concurrent-zone-transfers:

max-concurrent-zone-transfers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **operational-mode**

        **Description** Number of concurrent zone transfers after boot

        **Type:** number

        **Range:** 1-3120

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters

    **warm-up-mode**

        **Description** Number of concurrent zone transfers during cold boot (default 65472)

        **Type:** number

        **Range:** 100-65535

        **Default:** 65472