How Do I Add a KMS Server to DNS?


Angela Bailey

Adding a KMS Server to DNS is an essential step in ensuring proper activation and licensing for Microsoft products. In this tutorial, we will guide you through the process of adding a KMS Server to DNS with easy-to-follow steps.

What is a KMS Server?

A Key Management Service (KMS) server is used to activate Microsoft products on a local network without the need for individual product keys. It provides a centralized activation solution, making it easier to manage and maintain licensing compliance.

Why Add a KMS Server to DNS?

Adding the KMS Server to your DNS allows client machines on your network to automatically discover and activate against the KMS Server. This ensures that every device in your organization remains activated and compliant with Microsoft licensing requirements.

Step-by-Step Guide: Adding a KMS Server to DNS

Step 1: Determine the IP Address of Your KMS Server

The first step is to identify the IP address of your KMS Server. You can obtain this information from your system administrator or by referring to your server documentation.

Step 2: Access Your DNS Management Console

Open your preferred DNS management console. This could be Windows Server’s DNS Manager or any other third-party tool that you use for managing your DNS infrastructure.

Step 3: Create a New Host (A) Record

In the DNS management console, navigate to the appropriate forward lookup zone for your domain. Right-click on an empty space and select “New Host (A or AAAA)”.

  • Name: Enter “KMS” or any other desired hostname for your KMS server.
  • IP address: Enter the IP address of your KMS server that you determined in Step 1.
  • TTL: Set the Time to Live (TTL) value according to your organization’s requirements.

Step 4: Verify DNS Resolution

To ensure that the DNS record was created successfully, open a command prompt on a client machine within your network and run the following command:


If the DNS resolution is successful, it means that the KMS Server has been added to DNS correctly.


Incorporating a KMS Server into your DNS infrastructure is crucial for smooth activation and licensing of Microsoft products. By following these simple steps, you can ensure that every device on your network activates against the KMS Server automatically. This centralized activation solution simplifies licensing management and helps maintain compliance across your organization.

We hope this tutorial has provided you with clear instructions on adding a KMS Server to DNS. If you have any questions or need further assistance, feel free to reach out to our support team.

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy