Golang Conteiner - DNS problem

Hello,
I’m having a weird problem. My golang dockers cannot resolve any url, I have to login into shell, and execute once the command. Which do resolve every url. After that my service start resolving DNS. I’ve just updated to 0.46.

Regards

Here is my Dockerfile

FROM debian:wheezy
MAINTAINER Diego Guraieb
RUN apt-get update
RUN apt-get -y install libgeoip-dev
COPY GeoIP.dat /opt/
COPY api/redi.tmpl /api/
COPY main /
ENTRYPOINT ["/main"]

Are you defining the resolver IPs in it’s configuration?