i would like to use the gateway to send a package to an mqtt server in an other network. So the sender sends the data, the gateway receives it, and transport via WIFI/internet connection to an mqtt server somewhere in an other location.
My question: can i use the domain name instead of ip address of the mqtt server in config?
Due to the reason of dynamic ip, supported my telecom provider, i use a duckdns domain to access my HA environment
Thank you in advance !