DNS Server on Windows 2008 and 2012 compatibility

Used dnscmd operation instead of Windows 2012 specific powershell commands
Probably should remove the .project file, I don't think we usually commit them.