Hello,
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?
/ip dns static remove [/ip dns static find address=240.0.0.1]
Thank you
Hello,
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?
/ip dns static remove [/ip dns static find address=240.0.0.1]
Thank you
Try with quotes…
/ip dns static remove [find where address="240.0.0.1"]
Thank you very much, this command does the job quite well.