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
target.example.com when trying to reach the target Windows VM. An example of this is shown below:
We have created a one-line command that can be run in the Kali Linux environment:
curl -sL http://vacr.io/kali2020-dns-fix | 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.
Have a Question? Contact Support¶
We're here to help you. If you still have questions after reviewing the information above, please feel free to submit a ticket with our support team and we'll get back to you as soon as possible.
Thank You for Your Feedback!