I have a CoreOS instance running a docker container which runs dnsmasq
. Currently the dnsmasq
configuration only set to log all queries and to run in debug mode, so it should just do the caching.
When I try to use this from a different container with dig
, nslookup
, or simply running ping google.com
i get back Bad hostname: google.com
and I can see in the log query that requests are coming in multiple times, as if being retried.
If I try to run same commands from the host machine running CoreOS, everything resolves no problem in single try.
My plan is to run the dnsmasq
on each CoreOS machine in the cluster, and to have it backed by confd
, so that all services can resolve appropriate counterparts.
I'm using Alpine linux for my base images, but I tried to run those commands inside an Ubuntu and a Debian image with the same result.