diff options
-rw-r--r-- | netwatch-dns | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netwatch-dns b/netwatch-dns index 82a8599..7ec1bb4 100644 --- a/netwatch-dns +++ b/netwatch-dns @@ -21,8 +21,8 @@ $ScriptLock $0; $LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true; } -:local DnsServers [ :toarray "" ]; -:local DnsFallback [ :toarray "" ]; +:local DnsServers ({}); +:local DnsFallback ({}); :local DnsCurrent [ /ip/dns/get servers ]; :foreach Host in=[ /tool/netwatch/find where comment~"dns" !disabled ] do={ |