mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-06-21 01:15:43 +02:00
7 lines
No EOL
215 B
Text
7 lines
No EOL
215 B
Text
# ch10-05-error-check.rsc
|
|
:local WebSites { "badname1234.com"; "google.com"};
|
|
|
|
:foreach SiteName in=$WebSites do={
|
|
:local SiteIpAddress [/resolve $SiteName];
|
|
:put "Site IP for $SiteName is $SiteIpAddress";
|
|
} |