---
title: "set enable_dnstap"
canonical: "https://docs.infoblox.com/space/nios86/35886635/set%20enable_dnstap"
format: markdown
---
Use the `set enable_dnstap` command to enable or disable using dnstap to <span style="color: #000000">log DNS queries and responses</span>. For information about using dnstap, see [*Capturing DNS Queries and Responses*](https://infoblox-docs.atlassian.net/wiki/spaces/nios86/pages/1104938885). To view the status of the dnstap configuration, see [*show dnstap-status*](https://infoblox-docs.atlassian.net/wiki/spaces/nios86/pages/35984374).

# Syntax

`set enable dns_tap [on|off]`

| **Argument** | **Description** |
| --- | --- |
| `on` | <span style="color: #000000">Enables the use of the dnstap log format to log DNS queries and responses at high rates to well-known destinations.</span> |
| off | Disables the use of <span style="color: #000000">the dnstap log format to log DNS queries and responses. </span> |

# Examples

To enable the use of the dnstap log format:

`Infoblox > ``set enable_dnstap on`  
`Override Grid settings and configure DNSTAP on member level? (y or n):`

The input `y` <span style="color: #000000">overrides Grid settings and enables member-level dnstap configuration. The input </span>`n `<span style="color: #000000">inherits Grid settings; no further configuration is performed. </span>

<span style="color: #172b4d">To disable the use of the dnstap log format:</span>

`Infoblox > set enable_dnstap off`