If you want to configure the DNS suffix search list on Windows 2012+, you can use the set-DnsclientGlobalSetting command, as shown in the example below.
This will set the DNS search list to “domain.local”:
set-DnsClientGlobalSetting -SuffixSearchList @("domain.local")