Bit of a newbee to the Docker/Rancher community, currently evaluating it for hosting internal applications (GitLab, Taiga, Drone) from within the company I work for.
So far so good, I love the simple and all-round solution that Rancher provides!
My question is around DNS. I currently have a internal company DNS server that redirects ‘gitlab.example.com’ to the correct Virtual Machine IP Address that is running the Gitlab service.
When running Rancher I have managed to get the gitlab catalog up and running, and accessible by http://[host-ip]:81.
Now asking people to access Gitlab via a IP/Port combo isn’t ideal, I also understand that Docker Swarm can distribute the containers to different hosts, so the IP address could be dynamic.
What is the suggested way of integrating an internal DNS Server into Rancher? An ideal scenario would be that I can create a A record, for example gitlab.example.com and it will point to the Gitlab container on port 81.
I did notice that rancher offers some nice integration with third party DNS services such as route53, sadly due to the data-sensitive nature of the company an internal solution would be preferred.
Can anyone shine some light on the best way of going about this?
The next external-dns provider going in will be “DNS Update (RFC 2136)”, which you can use to configure a zone in a standard DNS server (e.g. bind) that accepts transfers.
Well, manually would be you creating records with the right makes pointed to the right host IPs… So sure, you can do that manually
Labeling hosts and using the global scale + scheduling rules to limit containers to a certain set f hosts can make manually managing easier by giving you a known set of host IPs to configure…
The built-in load balancer service can do hostname or path-based routing of requests to different target services and SSL-termination so that multiple things can “share” 80/443.