<p>AKS Cluster with multiple node pools of linux and windows.
Kafka Client: Confluent.Kafka 1.4.4</p>
<p>Trying to resolve a kafka service named &quot;tt-kafka-kafka-bootstrap.shared&quot;.</p>
<p>From with in windows pod - FAILS TO RESOLVE:</p>
<pre><code>kubectl exec -it test-print-7f6b64dc4f-4z7lt --namespace test -- nslookup tt-kafka-kafka-bootstrap.shared
Server: kube-dns.kube-system.svc.cluster.local
Address: 10.0.0.10

*** kube-dns.kube-system.svc.cluster.local can't find tt-kafka-kafka-bootstrap.shared: Non-existent domain
</code></pre>
<p>BUT IF I QUALIFY THE SERVICE ADDRESS WITH svc.cluster.local, IT RESOLVES:</p>
<pre><code>kubectl exec -it test-print-7f6b64dc4f-4z7lt --namespace test -- nslookup tt-kafka-kafka-bootstrap.shared.svc.cluster.local
Server: kube-dns.kube-system.svc.cluster.local
Address: 10.0.0.10

Name: tt-kafka-kafka-bootstrap.shared.svc.cluster.local
Address: 10.0.192.149
</code></pre>
<p>FROM With in LINUX POD - RESOLVES FINE:</p>
<pre><code>root@test-worker-t1-0:/app# nslookup tt-kafka-kafka-bootstrap.shared
Server: 10.0.0.10
Address: 10.0.0.10#53

Name: tt-kafka-kafka-bootstrap.shared.svc.cluster.local
Address: 10.0.192.149
</code></pre>

Savin
<p>It turns out windows can not resolve name spaces with in the kubernetes.</p>
<blockquote>
<p>Please refer to following K8 documentation for more information on
Windows containers in Kubernetes:
<a href="https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#dns-limitations" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#dns-limitations</a></p>
</blockquote>
