# Custom nameserver in Docker container

**URL:** <https://meta.discourse.org/t/custom-nameserver-in-docker-container/39716>\
**Category:** Product Support\
**Created:** [2월 17, 2016, 4:17오전 UTC](https://meta.discourse.org/t/custom-nameserver-in-docker-container/39716 "2016-02-17T04:17:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![andybalholm](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@andybalholm](https://meta.discourse.org/u/andybalholm)\
**Post date:** [2월 17, 2016, 4:17오전 UTC](https://meta.discourse.org/t/custom-nameserver-in-docker-container/39716/1 "2016-02-17T04:17:16Z")

</div>

I want my Discourse installation to use my local nameserver. (So that it resolves the hostnames of the other computers in the same data center to their LAN addresses instead of the external IP.) The `/etc/resolv.conf` file in the container does include that nameserver, but it puts Google’s nameservers first. Is there any way to customize the content of `resolv.conf`?

---

_[View the full topic](https://meta.discourse.org/t/custom-nameserver-in-docker-container/39716)._
