Skip to content

Broken DNS in Snapshot of Kali Linux

There is a known bug in the Kali Linux (2020.09) that impacts DNS resolution after taking a snapshot (also known as “Copy”) of the environment and provisioning a new environment based on the snapshot. This impacts any environments that are denoted with version (2020.09), but has been fixed in environments using newer versions.


After taking a snapshot of Kali Linux (2020.09) and reprovisioning your snapshot, resolving custom DNS queries will not work as intended. For example, in the Kali Linux and Vulnerable Windows environment, you will not be able to resolve when trying to reach the target Windows VM. An example of this is shown below: Running "ping" in a terminal results in a message stating "Name or service not known"


We have created a one-line command that can be run in the Kali Linux environment:

curl -sL | sudo bash

If possible, we recommend running this command in your original environment and taking a new snapshot after running it. This will ensure that all new VM’s that are provisioned from your new snapshot will have the fix put in place. If your students have work saved within the VM that needs to be preserved, this script can also be run in-place to fix each individual Kali Linux environment.

Contact Support

If you continue to have any issues related to DNS resolution in Kali Linux, please feel free to submit a support ticket.