Applies To: Windows Server 2008 R2,Windows Server 2008
Changes the resource record type for the query.
For examples of how this command can be used, see Examples.
Syntax
![]() | |
---|---|
set type=<ResourceRecordType> |
Parameters
Parameter | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<ResourceRecordType> |
Specifies a DNS resource record type. The default resource record type is A. The following table lists the valid values for this command.
| ||||||||||||||||||||||||||||||||||||
{help | ?} |
Displays a short summary of nslookup subcommands. |
Remarks
-
The set type command performs the same function as the set querytype command.
-
For more information about resource record types, see Request For Comment (RFC) 1035.
Scripting <optional section>
<Here is where you discuss using the command within a script. You should also provide an FWLink to a specific page in the Script Center, if possible.>
Examples
<Here is where you put a detailed description of your example>:
![]() | |
---|---|
This /is /the /example |
<Here is where you put detailed descriptions of another example>:
![]() | |
---|---|
This /is /a:"different" /example |