Nslookup: set class

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

Nslookup: set class

Changes the query class. The class specifies the protocol group of the information.

Syntax

set cl[ass]**=**Class

Parameters
  • Class
    The default class is IN. 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><strong>IN</strong></p></td>
<td><p>Specifies the Internet class.</p></td>
</tr>
<tr class="even">
<td><p><strong>CHAOS</strong></p></td>
<td><p>Specifies the Chaos class.</p></td>
</tr>
<tr class="odd">
<td><p><strong>HESIOD</strong></p></td>
<td><p>Specifies the MIT Athena Hesiod class.</p></td>
</tr>
<tr class="even">
<td><p><strong>ANY</strong></p></td>
<td><p>Specifies any of the previously listed wildcards.</p></td>
</tr>
</tbody>
</table>
  • { help| ?}
    Displays a short summary of nslookup subcommands.

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