![]() If you omit the second argument, nslookup uses the default DNS name server.If you need to look up more than one piece of data, you can use interactive mode. For the second parameter, type the name or IP address of a DNS name server. For the first parameter, type the name or IP address of the computer that you want to look up. Nslookup has two modes: interactive and noninteractive.If you need to look up only a single piece of data, use noninteractive mode.The command-line length must be less than 256 characters.If you type a hyphen (-) instead of ComputerToFind, the command prompt changes to nslookup interactive mode.This behavior depends on the state of the following set subcommands: domain, srchlist, defname, and search. If ComputerToFind is a name and does not have a trailing period, the default DNS domain name is appended to the name. If ComputerToFind is an IP address and the query is for an A or PTR resource record type, the name of the computer is returned.: Displays a short summary of nslookup subcommands. If you omit -Server, the default DNS name server is used. – Server : Specifies to use this server as the DNS name server. To look up a computer not in the current DNS domain, append a period to the name. ![]() For a list of subcommands, see Related Topics.ĬomputerToFind : Looks up information for ComputerToFind using the current default DNS name server, if no other server is specified. – SubCommand … : Specifies one or more nslookup subcommands as a command-line option. Once in the interactive running state, you can type ls -d to list all the resource records for the domain that are stored in the DNS database of the name server being queried. You enter interactive mode by typing nslookup at the command prompt. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |