mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-21 19:34:26 +02:00
update for v6/v7 support
This commit is contained in:
parent
4871e9432b
commit
b10b99bd87
120 changed files with 1479 additions and 22 deletions
7
scripts/v6/ch10-05-error_check.rsc
Normal file
7
scripts/v6/ch10-05-error_check.rsc
Normal file
|
@ -0,0 +1,7 @@
|
|||
# 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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue