Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
ls [<option>] <DNSdomain> [{[>] <filename>|[>>] <filename>}]Lists DNS domain information. This guide lists the documented syntax and parameters for nslookup ls; check Microsoft Learn for version, role and execution-context requirements.
ls [<option>] <DNSdomain> [{[>] <filename>|[>>] <filename>}]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
ls [<option>] <DNSdomain> [{[>] <filename>|[>>] <filename>}]| Option / clause | Description |
|---|---|
<option> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
-t | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-a | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-d | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-h | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
-s | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
<DNSdomain> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<filename> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
/? | Display command help or the supported command-line usage. |
/help | Display command help or the supported command-line usage. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.