Skip to content

native-api/windns_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Workaround for a win2008/win2012 DNS server startup bug: errors 404,407,408 at system startup.

See https://www.google.ru/search?q=win2008+win2012+dns+error+404+407+408 for the bug discussion. For specific links, see e.g. http://forums.petri.com/showthread.php?t=62255 and https://social.technet.microsoft.com/Forums/ru-RU/374112f8-f8a5-4eb8-8682-2a54b2de601f . This fix is for the case when there's nothing special on the server (no multihoming, virtualization etc.) - the cause appears to be that TCP/IP is not yet fully functional when the `tcpip' service reports it has started.

The script searches DNS server event log for the specific errors that have occured during the current startup and restarts its service if there are.

Installation

  • Install Python 2.7 and modules: pywin32, iso8601, lxml
  • Copy the script to what will be its working directory (the log will be placed alongside the script)
  • Install the script as a service to run delayed and as Local System: (path)\dns_fix.py --startup=delayed install
  • start the service and check the log to confirm it works as expected (the service exits after finishing its work)

About

workaround for win2008/win2012 dns server startup bug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages