segunda-feira, 28 de setembro de 2015

Commands to Configure DNS Cache Only Servers

Commands to Configure DNS Cache Only Servers

Command
Description
Reference



Sconfig
This command you can change computer name, Add on the domain, Configure Remote Management, Configure Windows Update, Update machine, Configure Remote Desktop, Configure network settings, Configure Date and Time, Active Windows.

regedit.exe
Open Registry



HKLM\SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces
Disable/Enable netbios over TCP/IP

NetbiosOptions:
0 NetBIOS setting to  DHCPserver;
1 to Enable NetBIOS over TCP/IP;
2 Disable NetBios
http://windowsitpro.com/networking/q-how-can-i-disable-netbios-over-tcpip-windows-server-core-installations
Powershell Command


Disable-NetAdapterBinding -Name "Ethernet 2" -ComponentID ms_pacer
Disable protocols like IPV6, Microsoft Network Client etc
https://social.technet.microsoft.com/Forums/en-US/a1bd0436-7f99-43c6-ac55-26e14ba8fb9e/how-disable-ipv6-and-ipv4-in-server-2012-core-by-using-powershell?forum=winserverpowershell
Powershell Command

Install-WindowsFeature -Name DNS -IncludeAllSubFeature
Install Roles and Features
http://geekswithblogs.net/Wchrabaszcz/archive/2013/09/04/how-to-install-windows-server-features-using-powershell--server.aspx
Powershell Command


Enable-NetFirewallRule
Enable ports on firewall
https://technet.microsoft.com/en-us/library/jj554869(v=wps.630).aspx


DFS Troubleshooting

Links para resolucao de problemas com DFS:

- Blog com todos os comandos de teste: 
http://blogs.technet.com/b/josebda/archive/2009/07/15/five-ways-to-check-your-dfs-namespaces-dfs-n-configuration-with-the-dfsdiag-exe-tool.aspx

- Como remover registros orfaos e limpar cache do DFS: https://social.technet.microsoft.com/Forums/windowsserver/en-US/0f1a131f-d657-4edd-b5d2-6d61f5ccbed1/how-can-i-remove-a-phantom-dfs-namespace-server?forum=winserverfiles 

https://social.technet.microsoft.com/Forums/windowsserver/en-US/2463ce92-7767-4135-b8c7-31c736bdabc2/orphaned-dfs-namespace-how-to-remove 

http://virot.eu/remove-an-obsolete-dfs-nameserver-windows-2008-and-newer/