Closed AnalogJ closed 8 years ago
this is nice to have but not a requirement.. all dns resolution will be happening externally anyways.
It seems that the "Network Agent" is a valid DNS server, which will allow us to make requests (from the host) with the following format (if 10.42.93.83 is the ip address of Network Agent container)
dig guacweb.guacamole.rancher.internal @10.42.93.83
dig guacweb.guacamole @10.42.93.83
potential issues: look at #25 which contains a magic ipaddress for the Rancher DNS server, probably only works within the Rancher network, but may be worth checking.
docker network inspect bridge
when used with docker ps
(or API equivalents) could potnetially get you the ipaddress of the Rancher network agent, which could then be used for dns lookups.
this was completed using the built in dnsmasq-base application installed by NetworkManager. wildcard dns lookups (default is *.depot)
https://github.com/gliderlabs/resolvable maybe? or the inernal rancher dns service.