65.8k views
5 votes
Why would you want to use NSLOOKUP in interactive mode versus non-interactive mode, and in what scenarios would you use each of them?

a) Interactive mode allows for quicker DNS resolution, while non-interactive mode is for troubleshooting DNS issues.
b) Interactive mode provides more detailed DNS information, while non-interactive mode is for basic queries.
c) Interactive mode is suitable for querying local DNS servers, while non-interactive mode is for external DNS queries.
d) Interactive mode is for beginners, while non-interactive mode is for advanced users.

1 Answer

3 votes

Final answer:

NSLOOKUP can be used in interactive mode for multiple queries and detailed information, while non-interactive mode is suitable for single queries and scripting. It helps obtain DNS information about a domain. Correct option is d) Interactive mode is for beginners, while non-interactive mode is for advanced users.

Step-by-step explanation:

NSLOOKUP is a command-line tool used for querying DNS (Domain Name System) to obtain information about various types of DNS records. It can be used in both interactive and non-interactive modes, depending on the specific needs and scenarios.

In interactive mode, you can enter multiple queries and receive immediate responses. This mode is useful when you want to perform several DNS lookups or when you need to obtain detailed information about a domain, such as all available DNS records. For example, you can use interactive mode to query the DNS records of 'example.com' by entering 'nslookup' in the command prompt and then typing 'set type=all' and 'example.com'. In non-interactive mode, you can perform single queries and receive the result without entering the interactive shell. This mode is commonly used for scripting or automation purposes. For instance, you can use non-interactive mode to quickly check the IP address associated with a domain by running the command 'nslookup example.com'. Correct option is d) Interactive mode is for beginners, while non-interactive mode is for advanced users.

User Javiazo
by
8.1k points