add dns service to critical services

This commit is contained in:
Oran Nadler 2018-04-30 16:19:58 +03:00
parent f7556b0930
commit 5692d1dc86
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ class Machine(object):
@cache
def GetCriticalServicesInstalled(self):
def IsNameOfCriticalService(name):
services = ("W3svc", "MSExchangeServiceHost", "MSSQLServer")
services = ("W3svc", "MSExchangeServiceHost", "MSSQLServer", "dns")
services = map(str.lower, services)
if not name: