DNS Profile
############################################

A DNS profile controls the way a listener processes a query.

.. note::  **It is required to complete the following task on both dns.sitea and dns.siteb**

Navigate to: **DNS > Delivery > Profiles > DNS: Create**

.. image:: /_static/class1/dns_profile_flyout.png
   :width: 800

Create a new DNS profile as shown in the following table.

.. csv-table::
   :header: "Setting", "Value"
   :widths: 15, 15

   "Name", "f5demo.com_dns_profile"
   "Unhandled Query Action", "Drop"
   "Use BIND Server on Big-IP", "Disabled"
   "Logging", "Enabled"
   "Logging Profile", "f5demo_dns_logging_profile"
   "AVR statistics Sample Rate", "Enabled, 1/1 queries sampled"

.. image:: /_static/class1/dns_profile_settings.png
   :width: 800

.. https://gtm1.site1.example.com/tmui/Control/jspmap/tmui/dns/profile/dns/create.jsp

.. https://gtm1.site2.example.com/tmui/Control/jspmap/tmui/dns/profile/dns/create.jsp

TMSH command for both dns.sitea and dns.siteb:

.. admonition:: TMSH

   tmsh create ltm profile dns f5demo.com_dns_profile use-local-bind no unhandled-query-action drop log-profile f5demo_dns_logging_profile enable-logging yes avr-dnsstat-sample-rate 1

https://support.f5.com/csp/article/K14510