[SYSSETUP] When the physical host name is set, also set an empty physical domain name

This commit is contained in:
Eric Kohl 2020-01-19 13:33:15 +01:00
parent c645660384
commit 9e2ae9b05c

View file

@ -556,7 +556,10 @@ WriteComputerSettings(WCHAR * ComputerName, HWND hwndDlg)
return FALSE;
}
/* Try to also set DNS hostname */
/* Set the physical DNS domain */
SetComputerNameExW(ComputerNamePhysicalDnsDomain, L"");
/* Set the physical DNS hostname */
SetComputerNameExW(ComputerNamePhysicalDnsHostname, ComputerName);
/* Set the accounts domain name */