312-50V9 · Question #497
A hacker is attempting to use nslookup to query Domain Name Service (DNS). The hacker uses the nslookup interactive mode for the search. Which command should the hacker type into the command shell…
The correct answer is C. Set type=ns. In nslookup interactive mode, the 'set type=' command is used to specify which DNS record type to query before issuing a lookup.
Question
A hacker is attempting to use nslookup to query Domain Name Service (DNS). The hacker uses the nslookup interactive mode for the search. Which command should the hacker type into the command shell to request the appropriate records?
Options
- ALocate type=ns
- BRequest type=ns
- CSet type=ns
- DTransfer type=ns
How the community answered
(21 responses)- B5% (1)
- C90% (19)
- D5% (1)
Why each option
In nslookup interactive mode, the 'set type=' command is used to specify which DNS record type to query before issuing a lookup.
'locate' is not a valid nslookup interactive mode command and does not exist in the nslookup command set.
'request' is not a recognized nslookup interactive mode keyword and will produce an error if entered.
The 'set type=ns' command is the correct nslookup interactive mode syntax for changing the query record type to NS (Name Server). Within the interactive shell, all configuration changes use the 'set' keyword followed by the parameter, so 'set type=ns' tells nslookup to request NS records in subsequent queries.
'transfer' is not a valid nslookup subcommand - zone transfers are initiated differently using 'ls' with the '-d' flag, not a 'transfer type=' syntax.
Concept tested: nslookup interactive mode DNS record type selection
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup-set-type
Topics
Community Discussion
No community discussion yet for this question.