Internet is not working inside of my azure ubuntu VM

Jawad 0 Reputation points
2024-05-27T08:54:22.38+00:00

When I initially began using Ubuntu VM, I used the internet within the VM to download packages or for general internet usage. However, for the past few days, the internet hasn't been working inside my VMUser's image

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,444 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Cameron 502 Reputation points
    2024-05-27T09:53:50.69+00:00

    How is host name resolution configured? The image doesn't show that the internet is not available (it may or may not be), it shows that host names can't be resolved (which might be because internet is not available)


  2. Prrudram-MSFT 22,941 Reputation points
    2024-06-10T07:48:48.1566667+00:00

    Hello @Jawad

    Are you still facing the issue? Looking at the issue error, it appears to be DNS related issue here. Are you using a custom DNS or azure provided. Please check the DNS settings as per the below article https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=azure-portal#add-or-change-dns-servers

    User's image

    If I have answered your query, please click "Accept as answer" as a token of appreciation

    0 comments No comments