Kaseya Community

Agent Procedure Changing static DNS to new DNS and removing proxy server

  • Hi

    we need to change settings on work group machines with fixed IPs, I have tried some scripts but without success, has anyone tried this with script using agent procedure

    The following changes are required

    Two static DNS entry’s to be changed to two new DNS servers

    And removing existing proxy server


  • netsh interface ip set dns name=”Local Area Connection” static IPADDRESS

    then for every additional DNS server:

    netsh interface ip add dns name=”Local Area Connection” IPADDRESS

    ** note the above is untested, Google search.

  • I have used this one in the past on desktops connected to a down domain controller so I could RDP to the desktop.

    netsh interface ip set dns name="Local Area Connection" static (This IP is a Speakeasy - Chicago DNS server)

  • Thanks for the help,

    i will try them