Connect your domain name server
You can connect any Domain Name Server (DNS) running on Windows to Azure Sentinel. This is done by installing an agent on the DNS machine. Using DNS logs, you can gain security, performance, and operations-related insights into the DNS infrastructure of your organization by collecting, analyzing, and correlating analytic and audit logs and other related data from the DNS servers.
When you enable DNS log connection you can:
- Identify clients that try to resolve malicious domain names
- Identify stale resource records
- Identify frequently queried domain names and talkative DNS clients
- View request load on DNS servers
- View dynamic DNS registration failures
The following table describes the connected sources that are supported by this solution:
|Windows agents||Yes||The solution collects DNS information from Windows agents.|
|Linux agents||No||The solution does not collect DNS information from direct Linux agents.|
|System Center Operations Manager management group||Yes||The solution collects DNS information from agents in a connected Operations Manager management group. A direct connection from the Operations Manager agent to Azure Monitor is not required. Data is forwarded from the management group to the Log Analytics workspace.|
|Azure storage account||No||Azure storage isn't used by the solution.|
Data collection details
The solution collects DNS inventory and DNS event-related data from the DNS servers where a Log Analytics agent is installed. Inventory-related data, such as the number of DNS servers, zones, and resource records, is collected by running the DNS PowerShell cmdlets. The data is updated once every two days. The event-related data is collected near real time from the analytic and audit logs provided by enhanced DNS logging and diagnostics in Windows Server 2012 R2.
Connect your DNS appliance
In the Azure Sentinel portal, select Data connectors and choose the DNS (Preview) tile.
If your DNS machines are in Azure:
- Click Install agent on Azure Windows virtual machine.
- In the Virtual machines list, select the DNS machine you want to stream into Azure Sentinel. Make sure this is a Windows VM.
- In the window that opens for that VM, click Connect.
- Click Enable in the DNS connector window.
If your DNS machine is not an Azure VM:
- Click Install agent on non-Azure machines.
- In the Direct agent window, select either Download Windows agent (64 bit) or Download Windows agent (32 bit).
- Install the agent on your DNS machine. Copy the Workspace ID, Primary key, and Secondary key and use them when prompted during the installation.
To use the relevant schema in Log Analytics for the DNS logs, search for DnsEvents.
In Log Analytics, search for the schema DnsEvents and make sure there are events.
If Lookup Queries do not show up in Azure Sentinel, follow these steps so the queries are displayed properly:
- Turn ON the DNS Analytics logs on your servers.
- Make sure DNSEvents appear in your Log Analytics collection list.
- Turn ON Azure DNS Analytics.
- In Azure DNS Analytics, under Configuration, change any of the settings, save it, then change it back if you need to, and then save it again.
- Check Azure DNS analytics to make sure the queries are now being displayed.
In this document, you learned how to connect DNS on-premises appliances to Azure Sentinel. To learn more about Azure Sentinel, see the following articles:
- Learn how to get visibility into your data, and potential threats.
- Get started detecting threats with Azure Sentinel.