<p>Does anyone know if there is a specific way to configure Kubernetes to allow resolution of SRV type URLs (to internet services) from within pods?</p>

<p>Recently had a <a href="https://stackoverflow.com/questions/61820151/minikube-kubernets-pod-cant-connect-to-mongodb-atlas/61853372#61853372">problem</a> preventing me from connecting to MongoDB Atlas. Found the cause to be the use of SRV type URI for connection, was fixed after using legacy URI for connection <a href="https://www.mongodb.com/blog/post/mongodb-3-6-here-to-SRV-you-with-easier-replica-set-connections?jmp=fcb&amp;utm_source=4244&amp;utm_medium=FBPAGE&amp;utm_term=4&amp;linkId=50841309" rel="nofollow noreferrer">(link to description)</a>.</p>

<p>Is there some configuration required?</p>

Alexander Lock-Achilleos
<p>Some of the images like Alpine does not support the srv strings. Instead if you want to make it run either use the standard connection string or use the images to make your container which have minimum libraries to support the srv string.</p>
