Skip to main content
Version: Developer

Configure custom DNS servers for Kasm Workspaces sessions

Overview

Administrators specify custom DNS servers for Kasm sessions using the Docker Run Config, set as a Workspace setting or a group setting. This guide configures custom DNS servers through the Workspace setting.

Prerequisites

  • A working Kasm Workspaces deployment with administrator access.
  • The IP addresses of the DNS servers to use.

Configure custom DNS servers

The Docker Run Config uses the following format:

{
"dns": [
"208.67.220.220",
"208.67.222.222"
]
}
  1. Log in to the Kasm UI as an administrator.
  2. Select Workspaces, then Workspaces.
  3. Select Edit (the pencil icon) next to the desired Workspace from the arrow menu.
  4. Specify the DNS servers in the Docker Run Config.

Custom DNS servers in the Docker Run Config

Custom DNS in Docker Run Config
  1. Select Save.

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