# Initial email failure. Job exception: getaddrinfo: Name or service not known

**URL:** <https://meta.discourse.org/t/initial-email-failure-job-exception-getaddrinfo-name-or-service-not-known/42301>\
**Category:** Self-hosting\
**Created:** [4월 9, 2016, 5:08오후 UTC](https://meta.discourse.org/t/initial-email-failure-job-exception-getaddrinfo-name-or-service-not-known/42301 "2016-04-09T17:08:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Chanka\_Dod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chanka_dod/32/69649_2.png) [@Chanka\_Dod](https://meta.discourse.org/u/Chanka_Dod)\
**Post date:** [6월 13, 2017, 8:34오전 UTC](https://meta.discourse.org/t/initial-email-failure-job-exception-getaddrinfo-name-or-service-not-known/42301/5 "2017-06-13T08:34:25Z")

</div>

I also got the same issue. But DOCKER\_OPTS didn’t work for me.  
I saw that

> In the absence of the --dns=IP\_ADDRESS…, --dns-search=DOMAIN…, or --dns-opt=OPTION… options, Docker uses the /etc/resolv.conf of the host machine (where the docker daemon runs).

So that was the problem for me. Our dns was not added to the host.

---

_[View the full topic](https://meta.discourse.org/t/initial-email-failure-job-exception-getaddrinfo-name-or-service-not-known/42301)._
