# How to set external DNS

**URL:** https://forums.suse.com/t/how-to-set-external-dns/10030
**Category:** General
**Created:** [April 9, 2018, 12:42pm UTC](https://forums.suse.com/t/how-to-set-external-dns/10030 "2018-04-09T12:42:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Phoel](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/phoel/32/3894_2.png) [@Phoel](https://forums.suse.com/u/Phoel)
#### Post date: [April 9, 2018, 12:42pm UTC](https://forums.suse.com/t/how-to-set-external-dns/10030/1 "2018-04-09T12:42:02Z")

</div>

Hello there,

So I’m really new in this rancher world, so please be kind 🙂

I have currently 4 servers :

- 1 with Rancher
- 2 containers hosts connected to the rancher server
- 1 for DNS purpose only, not connected to rancher server

So I’d like to know what must be my DNS configuration if I want to use a single domain like \*.mydomain.com for my 2 containers hosts servers.

Should I set something like that :  
mydomain .com. IN A 54.XX.XX.171 // Container server #1  
mydomain .com. IN A 54.XX.XX.172 // Container server #2  
\* IN CNAME mydomain .com.

Or should I write only the rancher IP server and then the load balancer will return to the visitor the correct server?  
Thank you
