UserDnsDomain
From Environment Variables
UserDnsDomain environment variable returns the fully qualified DNS domain that the currently logged on user's account belongs to. For example: "intranet.local" [1]
echo %UserDnsDomain% INTRANET.LOCAL
Default value
UserDnsDomain environment variable doesn't have default value.
References
See also
AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | ComSpec | CommonProgramFiles | ComputerName | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir