> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DNS client

> Set the DNS servers, suffixes, dynamic registration and link-local name resolution of your Windows devices.

The DNS client control sets how your Windows devices resolve names: the DNS servers they ask, the suffixes they append, how they register their records in DNS, and how they use LLMNR and NetBIOS.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| | ✅ | | | |

Requires Windows 10 2004 with update KB5005101 or later. **NetBIOS node type** needs Windows 11 22H2 with update KB5053657 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **DNS client**, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all Windows devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

## Settings

Each on/off setting takes **On**, **Off** or **Not configured**, and each list of choices offers **Not configured** too. A setting left empty or on **Not configured** isn't written: the device keeps its own setting.

| Section | Setting | Value |
| - | - | - |
| **Servers and suffixes** | **DNS servers** | IP addresses, IPv4 or IPv6. They replace the DNS servers of every network connection. |
| | **Primary DNS suffix** | A DNS name, such as `corp.example.com` |
| | **Connection-specific DNS suffix** | A DNS name |
| | **DNS suffix search list** | DNS names |
| | **Append suffixes to multi-label names** | On, off |
| | **Primary DNS suffix devolution** | On, off |
| | **Devolution level** | A number, 2 or more |
| **Dynamic registration** | **Dynamic update** | On, off |
| | **Register with the connection-specific suffix** | On, off |
| | **Replace addresses in conflicts** | On, off |
| | **Update top-level domain zones** | On, off |
| | **PTR record registration** | **Do not register**, **Register**, **Only if the A record registers** |
| | **Update security level** | **Unsecure followed by secure**, **Only unsecure**, **Only secure** |
| | **Registration refresh interval (seconds)** | 1,800 or more |
| | **TTL of A and PTR records (seconds)** | A number of seconds |
| **Link-local name resolution** | **LLMNR (link-local multicast name resolution)** | On, off |
| | **NetBIOS queries for fully qualified names** | On, off |
| | **Prefer link-local responses over DNS** | On, off |
| | **NetBIOS node type** | **B-node (broadcast)**, **P-node (WINS only)**, **M-node (broadcast, then WINS)**, **H-node (WINS, then broadcast)** |
| **Name resolution** | **Smart multi-homed name resolution** | On, off |
| | **Smart protocol reordering** | On, off |
| | **IDN encoding (Punycode)** | On, off |
| | **IDN mapping (Nameprep)** | On, off |

Primo refuses two combinations Windows ignores, and names the setting to change:

* **Primary DNS suffix devolution** on, or a **Devolution level**, beside a **DNS suffix search list**: Windows turns devolution off while a search list is set.
* **Prefer link-local responses over DNS** on while **Smart multi-homed name resolution** is off: Windows prefers local responses only while smart multi-homed name resolution isn't turned off.

## How it works

Primo deploys a Windows configuration profile for the whole device. It only writes the settings you configured:

* the DNS client policies of Windows for the servers, suffixes, registration, LLMNR, NetBIOS queries, link-local preference, smart resolution and internationalized names;
* the NetBT node type policy of the Microsoft security baseline for **NetBIOS node type**.

A configuration that sets a setting a Windows release doesn't support only targets the devices whose release supports it. Primo leaves out the devices on an older release, so they don't report a failure.

When you remove the configuration, Windows deletes the policies the configuration set, and the device goes back to its own DNS client settings.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Firewall](https://docs.getprimo.com/mdm/policies/firewall.md)
* [Wi-Fi](https://docs.getprimo.com/mdm/policies/wifi.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.