Open hari2m opened 1 week ago
That seems like a lot more work than just setting up your IOT devices with static IP addresses. With your MQTT Server on DNS, you will get an MQTT Server issue any time the DNS changes the IP address to it. This does not happen with a static IP address. Also, if I have an issue with one device, I do not have to try to figure out what the IP address is on the DNS, I just go to the static IP address of the device, which is a much quicker process. This is especially true with the MQTT Server, since most people also use that server for other things. (Most of us use static IP addresses for this use case and use DNS for things such as personal computers, tablets, and phones on a different network than our IOT devices for security reasons.) Also, you do not have to resetup the device with new firmware just because the IP address of your MQTT Server changes, you just have to go to the configuration page of the device and change the IP address of the MQTT Server to the new IP address..
most of us try to maintain an dns server and it does not make sense to input an IP address instead of DNS, we are required to resetup the device with new firmware process to be able to get the mqtt working again when the mqtt broker device fails. If it was a dns all I have to do is change the IP address on the DNS server and it fixes in all locations not just this device.