A. The following command (and resulting output) will set the DNS suffix by updating the NV Domain value, which is found in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters subkey:

If you don't want to change the default DNS suffix, but instead modify only the DNS search list, you can change the SearchList value, which is found at the same registry-subkey location. The value can contain multiple entries separated by commas, such as dom1.com,dom2.com" First, let's view the current value using the following command (with the resulting output):

Next, use the following command (with the resulting output) to update the SearchList value: