Share via


My host name won't resolve on my vm so I can't connect!

Question

Sunday, May 31, 2015 10:07 AM

I have spent all week setting up this sharepoint environment on my azure account

Now my exchange server host name won't resolve and im getting frustrated because I can't connect

I'm thinking about switching to VMware this is truly frustrating

can anybody help me fix this

All replies (1)

Sunday, May 31, 2015 3:10 PM âś…Answered

Hi Jerimiah Pettigrew,

Thanks for posting here.

Have you created a network between your exchange server and Azure sharepoint server. Along with that install the DNS server which will assist you in resolving the host names.

Check your firewall settings on both Azure and on your exchange server.

If you create a Virtual Network, name resolution will not work unless you provide your own DNS Server and set it up to allow dynamic updates. You can't use public DNS Services to provide DNS name resolution for Windows Azure Virtual Network.

So here is your solution. You must start "Clean" because you cannot change DNS Server IP Address once VNet has running Virtual Machines in it.

  • Create the VNet as usual (and its subnets)
  • Provide DNS Server address. Set this address to be xxx.xxx.xxx.4 (4 will always be the first IP Address assigned in a given SubNet!) !
  • On that clean VNet, Create a new VM with Windows Server. That VM will get xxx.xxx.xxx.4 IP Address
  • Install and configure DNS Server Role on this machine
  • DO NOT SET STATIC IP ADDRESS OF THIS MACHINE!
  • Create rest of the VMs as usual

Things to be aware of:

  • Never assign static IP Addresses to any VM in Windows Azure. They must have DHCP allocated IP Addresses
  • Be careful to first create the DNS Machine, so that it get .4 IP Address
  • Your DNS VM will preserve its IP Address (.4) as long as you do not DELETE it)

This architecture has proven to be valid and works within Windows Azure Virtual Machines

Ref: http://www.ytechie.com/2013/06/setting-up-a-dns-server-in-azure-iaasvms/

Hope this helps you.

Girish Prajwal