I am using an external script to dump the DNS cache from the device and then populate an address list with specific domains.
I am able to dump and find the addresses but not sure how to add a batch of domains and/or addresses to the RouterOS device via REST API.
What:
should I use and also, what is the json content that should look like?
For example for "googlevideo" list the next domains:
rr3---sn-jjjpa-ua8e.googlevideo.com
rr3.sn-jjjpa-ua8e.googlevideo.com
rr3.sn-jjjpa-ua8e.googlevideo.com
rr1---sn-aigl6nzs.googlevideo.com
rr1.sn-aigl6nzs.googlevideo.com
rr1.sn-aigl6nzs.googlevideo.com