AutomoxAutomox

Flush and Register DNS

jason.pope
November 20, 2025 at 3:42 pm UTC

Looking to make a simple worklet to Flush and Register the DNS of a single machine or multiple machines.  

 

Noticed there was not a worklet in the catalog.

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (2)

MarkH-AutomoxNovember 20, 2025
#1

Hi jason.pope,

I keep a series of Worklets with ‘maint’ appended on the end for these types of use cases. Here is my worklet for flushing the DNS along with the output in the activity log:
 

Line 4 is probably not neccessary since its just statically saying it worked when maybe it didn’t :D

 

 

here are a few more examples of maintenance policies i have put together:
 

Regards,

jason.popeNovember 20, 2025
#2

Mark,

 

Thank you. That was very helpful.