CmdID / Commands / nslookup set
nslookup set domain
Changes the default Domain Name System (DNS) domain name to the specified name. Windows commands reference
On Windows
Windows
set domain=<domainname>
<domainname>Specifies a new name for the default DNS domain name. The default value is the name of the host./?Displays help at the command prompt./helpDisplays help at the command prompt.