ah, thanks! missed that part... it did the trick :-)

On Tue, Jul 28, 2015 at 7:25 PM Andras Kerekes <
[email protected]> wrote:

> Hi Itamar,
>
>
>
> You need to change the dns name you’re querying for a bit:
>
>
>
> Use *dig _search3d._tcp.marathon.mesos*
>
>
>
> See: https://mesosphere.github.io/mesos-dns/docs/naming.html#srv-records
>
>
>
> Andras
>
>
>
> *From:* Itamar Ostricher [mailto:[email protected]]
> *Sent:* Tuesday, July 28, 2015 12:15 PM
> *To:* [email protected]
> *Subject:* Can't get SRV records from Mesos-DNS
>
>
>
> 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