Change IP address/Primary Hostname from NXSL

Started by Sack-C-Fix, August 16, 2023, 10:07:45 AM

Previous topic - Next topic

Sack-C-Fix

Hello,

for some purposes it would be beneficial to be able to change the address of a node via NXSL.

Maybe this function already exists, but I didn't find anything in the documentation.


Thanks

Andreas

keenoar

Hello,

Due to security reasons, from NXSL you can read the primary host name using $node->primaryHostName but cannot change or set it.

Can you explain what you are trying to do, maybe there is another way to do it.

Thanks,
Kanan