Using Hostname instead of IP Address

Might it be possible to add the capability for using the hostname in the following command instead of the ip address? In a docker world where IP addresses are not constant, it would be helpful

pmm-admin config --server pmmserver:443 --server-user pmm --server-password pmm --server-insecure-ssl --force --client-address 10.0.7.160

So, I was able to get it to take the hostname instead with systems that only had one network interface. I can see the reasoning behind requiring an IP in such cases.

Thank you for sharing your results fward1208 !