---
myst:
  html_meta:
    "description lang=en": "How to change the default DNS servers used by a Kasm Workspaces session."
    "keywords": "Kasm, How to, How-to, Domain, Name, Server, DNS, Custom"
    "property=og:locale": "en_US"
---
```{title} Custom DNS Servers
```

# Custom DNS Servers

Administrators can use the **Docker Run Config** {doc}`Workspace Setting</guide/workspaces>` or {doc}`Group Setting</guide/groups>`
to specify custom DNS servers that are used by the Kasm sessions.

```json
{
  "dns": [
    "208.67.220.220",
    "208.67.222.222"
  ]
}
```

The following instructions demonstrate how to configure custom DNS servers using the **Docker Run Config** {doc}`Workspace Setting</guide/workspaces>`

1. Log into the Kasm UI as an administrator.

2. Select **Workspaces**

3. Select **Edit** (Pencil) next to the desired Workspace.

4. Specify the DNS Server in **Docker Run Config**

   > ```{figure} /images/custom_dns/docker_run_config.png
   > :align: center
   > :width: 90%
   >
   > **Custom DNS in Docker Run Config**
   > ```

5. Select Submit

New sessions created with this Workspace will utilize the specified DNS servers for resolution.