This command describes how you can use the nslookup command to perform DNS lookups in Linux. The NSLOOKUP command is used to query name servers so that you can locate information about network nodes, examine the contents of a name-server. D’autres commandes comme host et nslookup (déprécié) peuvent fournir, entre de bonnes mains, le même genre d’informations. Dig a l’avantage (ou.

Author: Gojar Voodoosida
Country: Papua New Guinea
Language: English (Spanish)
Genre: Technology
Published (Last): 20 June 2016
Pages: 221
PDF File Size: 11.85 Mb
ePub File Size: 18.91 Mb
ISBN: 360-1-67850-499-9
Downloads: 77554
Price: Free* [*Free Regsitration Required]
Uploader: Gardahn

What is a MAC address? This website uses cookies to improve your experience. Before using this tool, you should be familiar with how DNS works.

Or, omit both parameters and nslookup uses the default DNS name server.

Nslookup: command not found error on RHEL/CentOS 7 – Unix & Linux Stack Exchange

Specifies the number of seconds to wait conmande timing out of a request. Remarks 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.

Lower the number, higher the preference. Non-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument which can be preceded by options. My focus is to write articles that will either teach you or help you resolve a problem. Following are some tips about working in interactive mode: For the first parameter, type the name or IP address of the computer that you want to look up.


The MX Record is a map of mail exchange servers for a domain. Tank You very much for this wonderfull post!

NSLOOKUP command

The default is nobrackets. The class specifies the protocol group of the information. In general, you can search for what package provides a command using the yum provides command:. Interactive mode allows the user to query the DNS-Server about various host, and domains.

This is the server our system is configured to use to translate domain names into IP addresses. Use this Contact Form to get in touch me with your comments, questions or suggestions about this site. For instance, to find out what the IP address of microsoft. You can see that we have received a ” Non-authoritative answer ” to our query.

Server Name or Address: Specifies the number of times a request is resent.

Advanced users may need to examine more closely the details of the query transaction. Specifies the destination domain, defined as a domain name or IP address. The command queries the name server for information about the current query type for the Domain Name the default query type is A for address query. Options can be specified on the command line if they precede the arguments and are prefixed with a hyphen.

10 Linux nslookup Command Examples for DNS Lookup

So if there were another exchanger with the prefix 5that server would take precedence over the server listed here. Linux course Overview What is Linux? Product feedback Sign in to give documentation feedback.

About nslookup nslookup syntax nslookup examples Related commands Linux and Unix commands help. Non-Interactive mode allows the user to query the information for a host or domain. Our name server returned two entries, The information listed here is the cached version held by our domain name server. When I went to run the nslookup command to look up an IP address I got the error message nslookup: SOA record start of authorityprovides the authoritative information about the domain, the e-mail address of the domain admin, the domain serial number, etc….


By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. This is useful not only for obtaining authoritative information, but for finding out exactly what information a certain DNS currently has cached.

All fields of every packet are printed. Field-level validation is performed prior to command execution. The nslookup command is used to query Internet name servers interactively for information. The following table lists possible error messages.

Domain Name or Address: Have you tried installing the bind-utils package, which includes the nslookup binary? This displays more about what nslookup is doing. Alan Sloan July 26, The value specified determines the number of attempts made to contact the name server. Prints the current values of the frequently used options to set.