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.


set cl[ass]**=**Class

  • Class
    The default class is IN. The following table lists the valid values for this command.
<col style="width: 50%" />
<col style="width: 50%" />
<tr class="header">
<tr class="odd">
<td><p>Specifies the Internet class.</p></td>
<tr class="even">
<td><p>Specifies the Chaos class.</p></td>
<tr class="odd">
<td><p>Specifies the MIT Athena Hesiod class.</p></td>
<tr class="even">
<td><p>Specifies any of the previously listed wildcards.</p></td>
  • { help| ?}
    Displays a short summary of nslookup subcommands.

Formatting legend

Format Meaning


Information that the user must supply


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


Command-line reference A-Z
Command shell overview
Nslookup subcommands