]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:55:02 15.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 15 May 2026 07:55:03 +0000 (10:55 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 15 May 2026 07:55:03 +0000 (10:55 +0300)
html/AM-GlobalFunc.rsc
html/AM-RKN-dnsLookup.rsc

index 210fdb37113e20c093dd47d4e08b9a7b8215d56c..9d2973cf3ae64a007f0d5f93ffd346c1dc014087 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/638/edfd0009";
+:global CommitId "main/639/8da4c517";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:45:03 15.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:55:02 15.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 140;
index a84a9d1eb8afffc2bbd22b5067d31ec1b417cca3..cbc3cd035802e9ff09351cbbba515ab5de3e9335 100644 (file)
@@ -37,6 +37,7 @@ while (!$dnsLookupReady) do={ :nothing; }
   "fbcd.net"\r
   "facebook.com"\r
   "instagram.com"\r
+  "twimg.com"\r
   "t.me";}\r
 \r
 :local ListRKN "RKN-dnsLookup";\r
@@ -71,6 +72,7 @@ while (!$dnsLookupReady) do={ :nothing; }
             :foreach aRecord in=[/ip dns cache all find where (name=[/ip dns cache all get $cname data] && type="A")] do={\r
                 :do {\r
                     /ip firewall address-list add list=$ListRKN address=[/ip dns cache all get $aRecord data] comment=$aItem;\r
+#                    /ip firewall raw add action=add-dst-to-address-list address-list=$ListRKN address-list-timeout=none-dynamic chain=prerouting comment=$aItem content=$aItem;\r
                 } on-error={\r
                     :log error "error when adding ip to list: $newAddress";\r
                 }\r