Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

############  Script resolve IP radius server  ##########

:local resolvedIP [:resolve "radius.yourdomain.com"];
:local radiusID [/radius find comment="myradius"];
:local currentIP [/radius get $radiusID address];

:log info $resolvedIP;

:if ($resolvedIP != $currentIP) do={
   /radius set $radiusID address=$resolvedIP;
   :log info "radius ip updated";
}

###################  end  ##################

Comments powered by CComment