Local Cloud - address of the API server

Hello,

I am building a local cloud, it seems to work well so far. I have one question, how is the address of API server stored in a Photon device? I use this command in Particle CLI (for binding the Photon to our server instead of Particle cloud):

particle keys server default_key.pub.pem api.example.com

Will the Photon contain URL api.example.com or will it be resolved to IP and stored as a hardcoded IP?

Why I am asking - when the address is stored as as IP, we could lost access to our customer’s Photons in the future in case we will change IP of our server…

Thanks,

Dalibor

It will be saved as a url address.

great info, thank you!