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:
- Open your command-line interface and type nslookup to enter the interactive mode.
- Once in interactive mode, type set type=ns to specify that you want to query for name server records.
- 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.