Facebook and youtube to address list ips

Hello.
Please i am an isp and i bought new mikrotik ccr 1036.
I want help me on this and please dont let me down :frowning:.

I want script that put any website ips ( dynamic ips ) to address list on firewall.

For example
Script to put facebook ip in firewall address list and update it every 5 minute.

Script to put youtube in firewall address list and update it every 5 minute

Script to put any other website to address list.

Thanks…

You don’t need a script. Just put required fqdn to the ip address list and ros will explode into ips and will update it accordingly to the ttl automatically.