# Using Amazon internal DNS

**URL:** <https://forums.suse.com/t/using-amazon-internal-dns/1133>\
**Category:** RancherOS\
**Created:** [December 1, 2015, 12:09pm UTC](https://forums.suse.com/t/using-amazon-internal-dns/1133 "2015-12-01T12:09:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skaggmannen](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/skaggmannen/32/410_2.png) [@skaggmannen](https://forums.suse.com/u/skaggmannen)\
**Post date:** [December 1, 2015, 12:09pm UTC](https://forums.suse.com/t/using-amazon-internal-dns/1133/1 "2015-12-01T12:09:10Z")

</div>

Hi,

I’d like to use Amazon’s internal DNS lookup to resolve hostnames to internal IP addresses, but I can’t figure out how to configure RancherOS to use the name servers given by DHCP instead of the default ones (8.8.8.8, 8.8.4.4).

Any suggestions how I could do this?

---

<div class="post-metadata">

**Author:** ![imikushin](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/imikushin/32/17_2.png) [@imikushin](https://forums.suse.com/u/imikushin)\
**Post date:** [December 1, 2015, 12:44pm UTC](https://forums.suse.com/t/using-amazon-internal-dns/1133/2 "2015-12-01T12:44:21Z")

</div>

This is a known issue. I’ve just submitted a pull request with the fix (yesterday): [https://github.com/rancher/os/pull/669](https://github.com/rancher/os/pull/669)

In v0.4.2 RancherOS will be primarily using DNS servers configured by DHCP with the option to override with cloud-config.
