Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] MQTT broker DNS name : eclipse mosquitto docker on Kubernetes

Hi Sharan,

I'm sorry but I can't help with this, it seems like it is a kubernetes
related problem.

Regards,

Roger

On Fri, 29 Jan 2021 at 18:32, Sharan Guhan <sharanyu@xxxxxxxxx> wrote:
>
> Hi All,
>
> I am trying to get DNS name to work for the mosquitto broker instead of using the IP address. I am using docker image from eclipse mosquitto ( eclipse-mosquitto                latest              131df074d5c8        6 weeks ago         9.54MB )
>
> This is running inside kubernetes. The DNS name server lookup is failing.
> Any suggestions or pointers how to setup the YAML file for this to work correctly? Basically I want container-X to use broker's name instead of IP..
>
> Sharan
>
> / # nslookup kubernetes.default.svc.cluster.local
> Server: 10.43.0.10
> Address: 10.43.0.10:53
>
> Name: kubernetes.default.svc.cluster.local
> Address: 10.43.0.1
>
> / #
> / #
> / #
> / # nslookup kubernetes.default
> Server: 10.43.0.10
> Address: 10.43.0.10:53
>
> ** server can't find kubernetes.default: NXDOMAIN
>
> ** server can't find kubernetes.default: NXDOMAIN
>
> / #
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top