213k views
4 votes
An attacker uses the nslookup interactive mode to locate information on a Domain Name Service (DNS). What command should they type to request the appropriate records for only name servers?

1) request type=ns
2) locate type=ns
3) transfer type=ns
4) set type=ns

1 Answer

3 votes

Final answer:

To request records for only name servers using nslookup interactive mode, type the command 'set type=ns'. This configures nslookup to retrieve only the name server records for a specified domain.

Step-by-step explanation:

You asked which command should be used in nslookup interactive mode to request records for only name servers. The correct command is option 4) set type=ns. When you type this command into nslookup, you are configuring nslookup to only retrieve the name server records for a specified domain. Here is how you can use it:

  1. Open your command-line interface and type nslookup to enter the interactive mode.
  2. Once in interactive mode, type set type=ns to specify that you want to query for name server records.
  3. After setting the query type, enter the domain name you wish to investigate, and press Enter. You will then receive a list of NS records for that domain.
User Slayton
by
8.1k points