Next | Prev | Up | Top | Contents | Index

The nslookup Command

The nslookup command is a useful debugging tool for querying local and remote name servers. nslookup operates in either interactive or non-interactive mode. Interactive mode allows the user to query the name server for information about various stations and domains or print a list of stations in the domain. Non-interactive mode is used to print just the name and requested information for a station or domain. The following example of nslookup output gets the address record for the station monet.berkeley.edu:

Default Server:  ucbvax.berkeley.edu 
Address:  128.32.133.1 
> monet 
Server:  ucbvax.berkeley.edu 
Address:  128.32.133.1 
Name:    monet.berkeley.edu 
Address:  128.32.130.6 
To exit, press <Ctrl-D> or enter exit. The help command summarizes available commands. The complete set of commands is described on the nslookup(1C) reference page.


Next | Prev | Up | Top | Contents | Index