title: Unable to resolve IPs using dns for Azure Container Instances
body: <p>I have just tried to run a windows container using Azure Container Instances, however it seems the container can't resolve DNS for the server i would like it to connect too. </p>
  
  <pre><code>Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
     at System.Net.Dns.InternalGetHostByName(String hostName)
     at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
     at Core.Services.DamAuthenticationService.Login(String username, String password) in C:\build\Core.Services\DamAuthenticationService.cs:line 89
     at Core.Services.DamAuthenticationService..ctor(DamInfo damInfo) in C:\build\Core.Services\DamAuthenticationService.cs:line 32
     at JobCruncher.Startup.ConfigureServices(IServiceCollection services) in C:\build\JobCruncher\Startup.cs:line 44
     at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
     at Microsoft.Extensions.Hosting.HostBuilder.Build()
     at JobCruncher.Program.Main(String[] args) in C:\build\JobCruncher\Program.cs:line 13
     at JobCruncher.Program.&lt;Main&gt;(String[] args)
  </code></pre>
  
  <p>I know the DNS name resolves from Azure, I can access it from other VMs on Azure. </p>
  
  <p>Any indications of what can be done to fix it?</p>