Just a few curiosities after reading through this:

(1) How are the A records used? Don't you also need to know the port to
talk to the service?
(2) For SRV records, do applications need to be updated to use DNS libraries
<http://linux.die.net/man/3/res_init> directly? It looks like getaddrinfo()
doesn't deal with SRV records.
(3) Is there any way to reach the services via a browser using this? It
looks like browsers don't support SRV?

On Sun, Jan 25, 2015 at 8:57 AM, Christos Kozyrakis <chris...@mesosphere.io>
wrote:

> Hi Tom,
>
> the protobuf changes for service discovery will hopefully make it to the
> 0.22 release and we will update the A and SRV record generator to take
> advantage of them.
>
> We still have to decide what naming schemes to support based on this
> information. I suspect that we will have to support a few alternatives. For
> example some prefer something simple (e.g. search.mesos), while others some
> more complex (search.prod.europe.mesos). If you have preferences, please
> add them at https://github.com/mesosphere/mesos-dns/issues
>
> Thanks
>
> On Sun, Jan 25, 2015 at 3:19 AM, Tom Arnfeld <t...@duedil.com> wrote:
>
> > Thanks for sharing! Does this project by any chance utilise the new (not
> > sure if merged or released) service discovery protobufs in Mesos?
> >
> > --
> >
> >
> > Tom Arnfeld
> >
> > Developer // DueDil
> >
> >
> >
> >
> >
> > (+44) 7525940046
> >
> > 25 Christopher Street, London, EC2A 2BS
> >
> > On Sat, Jan 24, 2015 at 5:20 PM, Christos Kozyrakis
> > <chris...@mesosphere.io> wrote:
> >
> > > A few days ago, we open sourced a simple DNS server for Mesos clusters
> > that
> > > automatically draws information from the Mesos master(s). It should be
> > > helpful for service discovery in multi-framework clusters.
> > > The code: https://github.com/mesosphere/mesos-dns
> > > Docs: https://mesosphere.github.com/mesos-dns
> > > Looking forward your feedback
> > > The Mesosphere team
> > > http://www.mesosphere.com
> >
>

Reply via email to