ESP8266; MQTT; DNS Not Working?
-
I'm using the GatewayESP8266MQTTClient sketch and trying to use the #define MY_CONTROLLER_URL_ADDRESS macro that was committed a few months ago.
If I type in an IP address in quotes it works as expected, however, if I type in a DNS name it does not. Am I doing something wrong?
I'm using the latest commit from the development branch.
// Works
#define MY_CONTROLLER_URL_ADDRESS "192.168.1.52"// Does not work
#define MY_CONTROLLER_URL_ADDRESS "mosquitto.home"// Also does not work
#define MY_CONTROLLER_URL_ADDRESS "test.mosquitto.org"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login