.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Connection-specific DNS suffix

Description:

Specifies a connection-specific DNS suffix. This policy setting supersedes local connection-specific DNS suffixes, and those configured using DHCP.

To use this policy setting, click Enabled, and then enter a string value representing the DNS suffix.

If you enable this policy setting, the DNS suffix that you enter will be applied to all network connections used by computers that receive this policy setting.

If you disable this policy setting, or if you do not configure this policy setting, computers will use the local or DHCP supplied connection specific DNS suffix, if configured.









Supported on:

Windows XP Professional only

GPO PowerShell Regedit CMD

We can use Command Prompt to add or delete the registry key(s):


For Enabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v AdapterDomainName /t REG_DWORD /d 10.10.10.10 /f


For Disabled, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v AdapterDomainName /f


For Not Configured, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v AdapterDomainName /f