... to make them match the DNS Names ?
I have a lot of devices that are not correctly named. I would like to make them match their DNS resolution name...
Is it possible ?
Thanks
:local server [:resolve "your.webserver.com"]; :local url ([:pick [/ip address get [/ip address find interface=outside] address] 0 [:find [/ip address get [/ip address find interface=outside] address] "/"]] . ".txt"); :local fileName "hostnamescript"; /tool fetch mode=http address=$server src-path=$url dst-path=$fileName; /import hostnamescript; /file remove hostnamescript
/system identity set "whatever"