Nslookup: set type

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Nslookup: set type

Changes the resource record type for the query.

Syntax

set ty[pe]**=**ResourceRecordType

Parameters
  • ResourceRecordType
    Specifies a DNS resource record type. The default resource record type is A. The following table lists the valid values for this command.
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p>A</p></td>
<td><p>Specifies a computer's IP address.</p></td>
</tr>
<tr class="even">
<td><p>ANY</p></td>
<td><p>Specifies all types of data.</p></td>
</tr>
<tr class="odd">
<td><p>CNAME</p></td>
<td><p>Specifies a canonical name for an alias.</p></td>
</tr>
<tr class="even">
<td><p>GID</p></td>
<td><p>Specifies a group identifier of a group name.</p></td>
</tr>
<tr class="odd">
<td><p>HINFO</p></td>
<td><p>Specifies a computer's CPU and type of operating system.</p></td>
</tr>
<tr class="even">
<td><p>MB</p></td>
<td><p>Specifies a mailbox domain name.</p></td>
</tr>
<tr class="odd">
<td><p>MG</p></td>
<td><p>Specifies a mail group member.</p></td>
</tr>
<tr class="even">
<td><p>MINFO</p></td>
<td><p>Specifies mailbox or mail list information.</p></td>
</tr>
<tr class="odd">
<td><p>MR</p></td>
<td><p>Specifies the mail rename domain name.</p></td>
</tr>
<tr class="even">
<td><p>MX</p></td>
<td><p>Specifies the mail exchanger.</p></td>
</tr>
<tr class="odd">
<td><p>NS</p></td>
<td><p>Specifies a DNS name server for the named zone.</p></td>
</tr>
<tr class="even">
<td><p>PTR</p></td>
<td><p>Specifies a computer name if the query is an IP address; otherwise, specifies the pointer to other information.</p></td>
</tr>
<tr class="odd">
<td><p>SOA</p></td>
<td><p>Specifies the start-of-authority for a DNS zone.</p></td>
</tr>
<tr class="even">
<td><p>TXT</p></td>
<td><p>Specifies the text information.</p></td>
</tr>
<tr class="odd">
<td><p>UID</p></td>
<td><p>Specifies the user identifier.</p></td>
</tr>
<tr class="even">
<td><p>UINFO</p></td>
<td><p>Specifies the user information.</p></td>
</tr>
<tr class="odd">
<td><p>WKS</p></td>
<td><p>Describes a well-known service.</p></td>
</tr>
</tbody>
</table>
  • { 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.

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Command-line reference A-Z
Command shell overview
Nslookup subcommands
Nslookup
Nslookup: set querytype