DNS issues in Kali HVM

I set up a new Kali HVM by following this article:

I logged into Kali and set the IP address, netmask, gateway, etc using several methods. The result was that I could ping but not google dot com:

  1. Use the Advanced Network Configuration GUI to set the parameters as they are shown in my Kali qube settings. I copied the ip, gateway, virtual DNS, and tried a netmask of and I also tried OpenDNS instead of the virtual DNS.

  2. Same addressing as above, but I edited /etc/network/interfaces like this:

    auto eth0
    iface eth0 inet static
    dns-nameservers (tried both virtual and

  3. Same addressing but I followed this article and used systemd-networkd, so that my 50-static.network file looked like:



After methods 1,2 and 3, the result is the same. I cannot ping google dot com or view the webpage but I can ping

EDIT: I restarted the network services and sometimes the VM after each case.


Hi. I can’t comment about this installation method, but some other methods in that guide are broken (such as the one where you start on debian and dist-updade into kali.

These guides break from time to time and if no one bothers to update them, they will stay like that and many users may fall into a trap. This seems to be one of those cases, which is unfortunate. Qubes has been purging out the external documentation from the “official docs” for this reason.

I would advise you checking out the kali template that’s being worked on.

bump bump
(though from the “kali template available” post i am understanding that it will only work on qubes4.1, bummer).