What does

dig _search3d._tcp.marathon.mesos SRV 

give you?

See also http://mesosphere.github.io/mesos-dns/docs/naming.html


Cheers,
                Michael

--
Michael Hausenblas
Ireland, Europe
http://mhausenblas.info/

> On 28 Jul 2015, at 17:14, Itamar Ostricher <[email protected]> wrote:
> 
> Hi,
> 
> I just set up mesos-dns with my mesos+marathon cluster, and it appears to be 
> working fine, but I can't get SRV records.
> 
> mesos-dns executed by running: $ sudo /usr/local/mesos-dns/mesos-dns -config 
> /usr/local/mesos-dns/config.json
> 
> verified to be working by running "dig" from another machine after updating 
> its /etc/resolv.conf:
> $ dig +short search3d.marathon.mesos
> 10.240.76.32
> 10.240.175.55
> 
> not sure though how to get SRV records for the service port numbers...
> $ nslookup -type=SRV search3d.marathon.mesos
> Server:               10.240.28.7
> Address:      10.240.28.7#53
> 
> *** Can't find search3d.marathon.mesos: No answer
> 
> Here's the config file:
> $ cat /usr/local/mesos-dns/config.json
> {
>   "zk": "zk://10.240.28.7:2181,10.240.168.92:2181,10.240.251.236:2181/mesos",
>   "refreshSeconds": 60,
>   "ttl": 60,
>   "domain": "mesos",
>   "port": 53,
>   "resolvers": ["169.254.169.254", "10.240.0.1"],
>   "timeout": 5,
>   "email": "root.mesos-dns.mesos"
> }
> 
> running latest version AFAIK:
> $ /usr/local/mesos-dns/mesos-dns -version
> 0.1.2
> 
> Am I doing something wrong?
> Thanks!
> - Itamar.

Reply via email to