Deploy the Splunk Add-ons for Windows DNS
This topic discusses how to deploy the Splunk Add-ons for Windows DNS into deployment clients that you install onto your Windows DNS servers.
Which DNS add-ons go where?
The deployment server must be made aware of the new add-ons before you can deploy them to deployment clients. You do this by placing the add-ons in the deployment apps directory.
In this case, since not every Windows host in the Windows deployment is a DNS server, not every host should receive the Splunk Add-ons for Windows DNS. Also, since there are different DNS add-ons for different versions of Windows Server, only the add-on that has been designed for a specific version of Windows Server should be deployed to that host.
This means that, during this part of the setup, you will define new deployment classes at the deployment server to account for these differences.
As a reminder, here is the list of available add-ons for Windows DNS, and what versions of Windows Server they should be installed on:
Add-on: | Description: |
---|---|
TA-DNSServer-NT5 | For DNS Servers that run Windows Server 2003/2003 R2 and earlier |
TA-DNSServer-NT6 | For DNS Servers that run Windows Server 2008/2008 R2 and later |
This is the same table shown in "More information about the DNS add-ons."
Place the add-ons in the deployment apps directory on the deployment server
First, make the deployment server aware of the new add-ons:
1. Open a command prompt on the deployment server/indexer.
2. Copy the Splunk Add-ons for Windows DNS folders from their current location to the deployment apps directory:
xcopy C:\Downloads\splunk_app_windows_infrastructure\appserver\addons\TA-DNSServer* "C:\Program Files\Splunk\etc\deployment-apps /s /e /v
3. Tell the deployment server to reload its deployment configuration.
cd \Program Files\Splunk\bin .\splunk reload deploy-poll
4. From a web browser, log into Splunk Enterprise on the deployment server.
5. In the system bar, select Settings > Forwarder Management.
6. Click the Apps tab. You should see the TA_DNSServer* add-ons in the list of apps.
File:Exch 31 DeployApps TA DNS.png
Define a new server class for domain controllers
In this procedure, you will define a new server class for Windows DNS servers running on Windows Server 2008. In this server class, you will deploy the TA_DNSServer_NT6
add-on. Later, you will assign this server class to a deployment client that runs DNS Server on Windows Server 2008.
1. In the "TA_DNSServer_NT6" add-on entry in the list, click Edit. Splunk Enterprise loads the "Edit App: TA-DNSServer_NT6" page.
2. Click the gray "+" sign under "Server Classes".
3. In the pop-up that appears, click New Server Class.
4. In the "New Server Class" dialog box that pops up, enter "DNS Servers - Server 2008".
5. Click Save. Splunk Enterprise saves the class and loads the information page for the server class you just created.
Note that it says you have not added any apps or clients yet. This is okay, as you have just created the class.
6. Click Add apps. Splunk Enterprise loads the "Edit Apps" page.
7. Locate and click the "TA_DNSServer_NT6" add-on in the "Unselected Apps" pane on the left. The add-on moves to the "Selected Apps" pane on the right.
8. Click Save. Splunk Enterprise saves the configuration and returns you to the server class information page.
Add domain controller clients to the server class
Note: If you have not yet installed a universal forwarder on a DNS server that runs Windows Server 2008, do so now, using the instructions in "Install a universal forwarder on each Windows host". Then continue with the following steps.
To assign the domain controller deployment client to the "DNS Servers" server class:
1. In the server class information page, click Add clients. Splunk Enterprise loads the "Edit clients" page.
2. In the "Include (whitelist)" field, enter the name of the DNS server.
3. Click Preview. Splunk Enterprise updates the host list at the bottom and places check marks on the hosts that match what you entered in the "Include (whitelist)" field.
4. Click Save. Splunk Enterprise adds the host to the server class and deploys the add-on to the deployment client on the DNS host.
Add DNS deployment clients to the "universal forwarder" server class
In the same way that you added the DNS deployment client to the "DNS Servers" server class to deploy the DNS add-on, you should also add the client to the "universal forwarder" server class. This does two things:
- Deploys the Splunk Add-on for Windows to the DNS server, which enables the client to collect Windows data from the controller.
- Deploys the "send to indexer" app to the domain controller client, which enables the client to forward Windows and Active Directory to the indexer.
To add the domain controller to the "universal forwarders" server class, follow the instructions at "Add the universal forwarder to the server class."
What's next?
You have now deployed the DNS add-on onto your DNS deployment client. In the future, you can use this procedure to deploy the add-on(s) to additional client(s).
Next, you will confirm that DNS data is coming into the indexer from the deployment client.
This documentation applies to the following versions of Splunk® App for Windows Infrastructure (Legacy): 1.1.0
Feedback submitted, thanks!