Bugfix for Deploy-Template

I removed the $DNS param for linux, which caused Windows templates to
fail to deploy. The param is now back as an option and has been tested
more fully.