mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-08-29 14:18:09 +02:00
tcode tidy & correct image names
This commit is contained in:
parent
f3beb2ed9b
commit
4548f7c5c1
55 changed files with 18 additions and 18 deletions
|
@ -2,9 +2,9 @@
|
|||
:local WebSites { "badname1234.com"; "google.com"};
|
||||
:foreach SiteName in=$WebSites do={
|
||||
:do {
|
||||
:local SiteIpAddress [/resolve $SiteName];
|
||||
:local SiteIpAddress [:resolve $SiteName];
|
||||
:put "Site IP for $SiteName is $SiteIpAddress";
|
||||
} on-error={
|
||||
:put "Name lookup failed for $SiteName"
|
||||
:put "Name lookup failed for $SiteName";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue