How to manually create dynamic rules/address list entries

Hey guys
ok, so basically i wrote a script which adds some address list entries everyday and removes them at the end of that day(obviously, those entries could be different from one day to another).
adding and deleting entries everyday, causes some extra sector writes that i imagine it could be avoided if they were dynamic entries (Cause dynamic entries are saved in ram instead of disk, Right??). now, mikrotik components are adding those all the time. anyone knows a way to add one manually?

Thanks in advance :slight_smile:

You can’t manually add dynamic address list entries.

It would be useful and has been requested several times in the past, but is not yet implemented.

Well thats a shame. i did search the forum but didnt find any related topic. nevertheless, im gonna send an email to support team and request it one more time. Thank you for your fast reply. i appreciate it :slight_smile:

well.. there is a way to do it..
create a script that will ping those addresses with ttl=1 and timeout=1 (they have not, to be really pinged)
and then create a firewall rule at output chain for icmp protocol that will add the dst-address to the desired list

That’s a very nice workaround mojiro. i appreciate you taking your time to reply to this old thread. I’ve also emailed the support team yesterday requesting that feature. i believe it could be really useful to be able to add dynamic rules as well. for example in firewall filtering, nat, mangle, routing,…

Thank you :slight_smile:

With the same workaround you can detect your dynamic internet IP and have it available at an address-list

yes you could. and i will be probably using it a lot till Mikrotik implements that as a feature. however, it cant be used everywhere. for example, creating dynamic routes, doesn’t seem to be possible with that approach.

Edit: by changing ping parameters (ttl , dscp , size) , you are able to create different firewall rules to match different ping packets. hence, creating different Address lists. this is nice :slight_smile: