Share via


VM can't resolve dns names

Question

Sunday, September 2, 2012 9:56 PM

I created a azure vm. I can rdp to it fine but can't use the internet since dns doesn't work and can't resolve any domain names.

I ran the network diagnostics on the machine and this is what it found, "Your computer is trying to use a DNS server that is incorrect or doesn’t exist."

I tried deleting and recreating the vm but that doesn't seem to help either.

All replies (4)

Monday, September 3, 2012 3:04 AM ✅Answered

Which region is the VM deployed in?

Can you include the verbatim output of these commands:

nslookup internal.cloudapp.net

nslookup microsoft.com

And this PowerShell command (change just the computer name to <vm name> in the output) :

Get-WMIObject Win32_NetworkAdapterConfiguration | ForEach-Object{$_.DNSDomain}

Thanks,
Craig


Tuesday, September 4, 2012 6:02 PM ✅Answered

The vm was in West-US, The issue has been fixed since then. I'm guessing it was a faulty dns server in US-West.


Monday, September 3, 2012 3:08 PM

I have the exact same problem. I created a "West-US" VM "Windows Server 2008 R2 SP1, June 2012" and I cannot get to any internet site; unable to active the OS, download windows updates, etc.

Requested information;

PS C:\Users\Administrator> ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : splonk
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Peer-Peer
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : ac05fae2b5804638a2ce9e500b911e49.splonk.2474152945.uswest.internal.cloudapp.net

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . : ac05fae2b5804638a2ce9e500b911e49.splonk.2474152945.uswest.internal.cloudapp.net
   Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter #2
   Physical Address. . . . . . . . . : 00-15-5D-50-33-78
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::8834:a093:7e45:386a%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.79.102.31(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Lease Obtained. . . . . . . . . . : Monday, September 03, 2012 2:48:49 PM
   Lease Expires . . . . . . . . . . : Thursday, October 10, 2148 9:34:47 PM
   Default Gateway . . . . . . . . . : 10.79.102.1
   DHCP Server . . . . . . . . . . . : 10.241.1.74
   DHCPv6 IAID . . . . . . . . . . . : 251663709
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-D6-70-D5-00-15-5D-05-4B-1C
   DNS Servers . . . . . . . . . . . : 10.79.102.30
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.ac05fae2b5804638a2ce9e500b911e49.splonk.2474152945.uswest.internal.cloudapp.net:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : ac05fae2b5804638a2ce9e500b911e49.splonk.2474152945.uswest.internal.cloudapp.net
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
PS C:\Users\Administrator> nslookup internal.cloudapp.net
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  10.79.102.30

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out
PS C:\Users\Administrator> nslookup microsoft.com
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  10.79.102.30

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out
PS C:\Users\Administrator> Get-WMIObject Win32_NetworkAdapterConfiguration | ForEach-Object{$_.DNSDomain}
ac05fae2b5804638a2ce9e500b911e49.splonk.2474152945.uswest.internal.cloudapp.net
PS C:\Users\Administrator>


Friday, June 14, 2013 3:41 AM

Guys,

I'm facing the same exact issue in uswest. What did fix your issue.. did you change the region for all VMs? that seems to be a painful process too

--SS | Microsoft Certified Technology Specialist (TFS 2010)