Docker Community Forums

Share and learn in the Docker community.

Windows Container cannot resolve Active Directory Hostname

Hi,

I’m attempting to move a .NET Framework application to a docker container. However I’m running in to an issue where Windows Authentication cannot resolve the host of my domain controller.

When preforming a nslookup on my domain controller host I receive the following

C:\inetpub\wwwroot>nslookup *******.**.***.***
Server:  UnKnown
Address:  172.26.208.1

*** UnKnown can't find *******.**.***.***: Server failed

I have attempted setting the deamen.json to contain the IP address of our internal DNS server, however that doesn’t seem to work as well.

// deamon.json
...
"dns" : ["**.*.***.**", "8.8.8.8"
...

I can see though that my internal dns server is listed.

C:\inetpub\wwwroot>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : 99e98175dec0
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
   Physical Address. . . . . . . . . : 00-15-5D-C9-10-7B
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::2d87:4802:d243:4812%4(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.26.223.210(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Default Gateway . . . . . . . . . : 172.26.208.1
   DHCPv6 IAID . . . . . . . . . . . : 67114333
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-B2-0F-EF-00-15-5D-C9-10-7B
   DNS Servers . . . . . . . . . . . : 172.26.208.1
                                       **.*.***.**
                                       8.8.8.8
   NetBIOS over Tcpip. . . . . . . . : Disabled

If any one has an idea on how to resolve this issue I would be greatly appreciative.

Docker Desktop for Windows


IPs and Host Names have been been blocked for security.