What does nslookup do? Explain its two modes.
- Nslookup is used to find details related to a Domain name server. Details like IP addresses of a machine, MX records, servers etc. It sends a domain name query packet to the corresponding DNS.
- Nslookup has two modes: Interactive and non interactive.
- Interactive mode allows the user to interact by querying information about different hosts and domains.
- Non interactive mode is used to fetch information about the specified host or domain.
Interactive mode:Nslookup [options] [server]