I am trying to remove static dns entries for ad blocking via script. I want to remove only entries with the IP address 240.0.0.1 . What am I doing wrong?
Code: Select all
/ip dns static remove [/ip dns static find address=240.0.0.1]
/ip dns static remove [/ip dns static find address=240.0.0.1]
/ip dns static remove [find where address="240.0.0.1"]
Thank you very much, this command does the job quite well.Code: Select all/ip dns static remove [find where address="240.0.0.1"]