Finding and disabling previous static DNS script

Hello!
I’ve added a script to my Mikrotik CRS317-1G-16S+ some years ago, that adds and removes static DNS entries regularly from the leases on it’s DHCP server, however now times have changed and I’m no longer in need of it, and would like to remove it again.

I’m not familiar with scripts on my router tho, and visiting System → Scripts in Winbox yields no results.

I’ve googled around for similar scripts, but haven’t been able to find one with similar loggings, so I’m truely clueless where to start.

Here’s a picture of my Winbox for reference: https://i.imgur.com/VihZ5j5.png
As can be seen, it just logs “static dns entry added / removed by admin”

Thanks in advanced for any assistance :clinking_glasses:

Just do a /export and look in the export where your script is configured, then go to that menu and remove it.

Or you can look in System Scheduler, because you can add script directly there.

But it is not the only place where it could be! In this case it could also be a DHCP lease script.
/export tells you what it is.

Yes I know, but I want try a simple approach first, because some people have problems to read terminal outputs.
There are a couple of possible triggers, but these two positions are the most common without going deeper into special configurations.

Turns out you were both spot on.

I’m so grateful to see there’s an option to disable it too,
that way I can keep my functioning script if I ever were to need it again.

Thanks you guys! :clinking_beer_mugs: