You can capture DNS queries and responses for later analysis. When configuring this feature, you can choose to save the capture file locally on your appliance, as well as on the FTP (File Transfer Protocol) or SCP (Secure Copy) server. When you save it locally, you can use show query_capture to view the contents of the capture file. You can also use filter commands to exclude certain queries and view only the desired ones. Note that using multiple CLI commands to filter data for the appliances with large number of captured DNS queries and responses can significantly affect the system performance, protocol performance, and CLI command performance.
A capture file for logging DNS queries and responses is rolled over based on the configured time limit or when the file reaches 100 MB in size, whichever is sooner. The default time limit is 10 minutes. The capture file is automatically saved and exported to an FTP or SCP server based on your configuration. When you configure the appliance to save the capture file locally and later enable FTP or SCP, the appliance copies all the data starting with the oldest data. Infoblox recommends that you constantly monitor the FTP or SCP server to ensure that it has sufficient disk space. DNS queries and responses are stored on the appliance if the FTP or SCP server becomes unreachable. The maximum storage capacity varies based on the appliance model. After reaching the maximum limit, the appliance overwrites the old data with the new one. For information about the maximum hard drive space, see the table below. The amount of data captured depends on the DNS query rate and the domains that are included in or excluded from the capture. For information about how to exclude domains, see Excluding Domains From Query and Response Capturebelow.
...
Supported NIOS Appliances | Maximum Hard Drive Space for DNS Query/Response Capture (MB) |
---|---|
TE-926 | 3100 |
TE-1516 | 6000 |
TE-1526 | 10000 |
TE-2326 | 28000 |
TE-4126 | 40000 |
Trinzic TE-815 and IB-V815 | 900 |
Trinzic 825 TE-825 and IB-V825 | 3100 |
Trinzic TE-1415 and IB-V1415 | 6000 |
Trinzic TE-1425 and IB-V1425 | 10000 |
Trinzic TE-2215 and IB-V2215 | 12000 |
Trinzic TE-2225 and IB-V2225 | 28000 |
PT-1405 | 10000 |
PT-2205 | 28000 |
...
Capture DNS Queries/Responses | Exclude the Following Domains | Queried Domain | Captured Queries/Responses | Results |
---|---|---|---|---|
foo.com | it.foo.com |
| Yes | Does not match the exclusion list and therefore NIOS captures queries/responses made to foo.com and finance.foo.com. |
| No | Matches the exclusion list and excludes their subdomains. NIOS does not capture queries/responses made to it.foo.com and ms.it.foo.com. | ||
it.foo.com | foo.com | Domain is added to the exclusion list and its subdomain is added to the inclusion list. Therefore, this is not a valid configuration as queries/responses are not captured. The appliance displays a warning message for such invalid configuration. | ||
it.foo.com | it.foo.com | Domain is added to both the exclusion and the inclusion lists. This is not a valid configuration as queries/responses are not captured. The appliance displays a warning message for such invalid configuration. | ||
foo.com | corp1.com | Domain added to the inclusion list is not the subdomain of the domain added to the exclusion list. This is a redundant configuration as the outcome is the same even if the domain is removed from the Exclusion list. The appliance displays a warning message for such invalid configuration. | ||
foo.com |
| Yes | Exclusion list is empty and therefore matches the Inclusion list. NIOS captures queries/responses made to foo.com and finance.foo.com | |
| No | NIOS does not capture queries/responses made to corp1.com as this domain is not mentioned in the inclusion list. | ||
Capture All | foo.com |
| No | Matches the exclusion list and NIOS does not capture queries made to foo.com. |
| No | Subdomain matches the exclusion list and NIOS does not capture queries/responses made to finance.foo.com. | ||
| Yes | Does not match the exclusion list. Matches the inclusion list and therefore NIOS captures queries/responses made to corp1.com. |