I want automaticly configurate my ip address for my secure node. I’m hosting at home and my provider change several times per month my ip address.
I want to change directly in the config file “/etc/zen.conf” replacing externalip=xxx.xxx.xxx.xxx by something like that externalip=$(nslookup myown.dns.com | tail -2 | cut -d’ ’ -f2)
This command returns well my ip public address but seems not work inegrated in the config file. However, in this file we can execute command for ~rpcuser=$(pwgen -s 32 1).
Someone have any idea what can i do?