New Contributor
Posts: 3
Registered: ‎11-12-2015

DNS search domain issue in container

When trying to play with a tensorflow example, I tried installing with pip but failed due to DNS resolving every domain to the wildcard domain that I have configured. For example the docker container does a DNS query for with the following /etc/resolv.conf




search default.svc.cluster.local svc.cluster.local cluster.local openstacklocal
options ndots:5




DNS query:


Since I have configure * as wildcard to point to on my DNS server, this is getting resolved to the wrong IP address. How can I make it first to query outside the search domain, so that public hosts are resolved correctly?