It would be nice if they added the timeout option in the DNS Static menu to the address list.
I had no better idea than a scheduled script that runs every 1 minute and copies from that address list to another one that I named with the _fixed suffix, I use that list in the firewall.
Add this to the scheduler, set the interval so that it is approximately half of the dns record TTL (so you have a chance for at least one copy before the expiration) and use the vpn1_list_fixed address list in the mangle rule. I hope it will work...
I had no better idea than a scheduled script that runs every 1 minute and copies from that address list to another one that I named with the _fixed suffix, I use that list in the firewall.
Add this to the scheduler, set the interval so that it is approximately half of the dns record TTL (so you have a chance for at least one copy before the expiration) and use the vpn1_list_fixed address list in the mangle rule. I hope it will work...
Code:
/ip firewall address-list:foreach i in=[find where list=vpn1_list] do={ :do { add copy-from=$i list=vpn1_list_fixed } on-error={:nothing}}
Statistics: Posted by tamagochi — Mon Feb 26, 2024 5:32 pm