Dns issues in azure VM /devtest labs

Gustaf Johansson 0 Reputation points
2025-03-28T14:43:36.6633333+00:00

we have started seeing dns resolution issues in our devtest labs VMs, some urls which are perfectly reachable via the host-computer, just times out in the VM. Have tried setting google custom DNS, but no difference.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,720 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rex de Koning 0 Reputation points MVP
    2025-05-03T06:17:06.58+00:00

    Hi Gustaf,

    It's not completly clear from your question if the VM's have internet access for example.

    If your VM has no internet access at all and you have a DNS server that is also external it cannot resolve any addresses.

    Can you do a ping 8.8.8.8 for example from the VM. This sends a pind request to the Google DNS servers which should give a reply back. If that works you know you have interet access on that VM, of that failes the problem lies on a different level as DNS.

    All the best!

    Rex

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.