How to Disable IPv6 and Prevent Recreation of DNS Entry after Disabling IPv6
How to Disable IPv6 and Prevent Recreation of DNS Entry after Disabling IPv6
Problem Description:
Need to disable IPv6 and DNS entry is recreated after disabling IPv6.
Resolution:
‘Windows+R’ to open ‘Run’ – Type ‘ncpa.cpl’ – Enter
All Network Connections will be displayed now. Double click the network connection for which you want to disable IPv6.
Click on ‘Properties’ – Uncheck ‘Internet Protocol Version 6 TCP/IPv6’
Type ‘regedit.exe’ from ‘Run’ – HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip6Parameters
Right Click on ‘Parameters’ – NEW – DWORD 32 bit Value – Value Name: ‘DisabledComponents’, Value Data: ‘ffffffff’ Hexadecimal or ‘4294967295’ Decimal
Disable 6to4 Tunnel Adapter using below command from Command Prompt
netsh int ipv6 6to4 set state disabled
Delete registry entry from ‘DNSRegisteredAdapters’ if any interface is available other than Interfaces available in ‘HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipInterfaces’ taking backup of the registry path.
Run as admin Flush DNS & Register DNS command for 2-3 times using cmd.exe.
Ipconfig /flushdns
Ipconfig /registerdns
If still the problem is not resolved after following the process for 2-3 times then need to restart the server.
ipv6