aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 0a6b709..687fb6c 100644
--- a/global-functions
+++ b/global-functions
@@ -224,8 +224,10 @@
# check if DNS is resolving
:set DNSIsResolving do={
+ :global CharacterReplace;
+
:do {
- :resolve mikrotik.com;
+ :resolve ([ $CharacterReplace [ / system clock get time ] ":" "" ] . ".mikrotik.com");
:return true;
} on-error={
:return false;