RHCE # Week # 272


Question: 

Fill in the blank

___________ look up and find IP addresses in DNS.

Explanation:

nslookup is a network administration command-line tool available for many computer operating systems for querying the Domain Name System (DNS) to obtain domain name or IP address mapping or for any other specific DNS record.

The name nslookup means name server lookup. nslookup uses the operation system's local Domain Name System resolver library to perform its queries. Thus, it is configured automatically by the contents of the operating system file resolv.conf

nslookup operates in interactive or non-interactive mode. When used interactively, when the program in invoked without arguments (another option exists), the user issues parameter configurations or requests when presented the nslookup prompt (">") in line by line fashion. In non-interactive mode parameters and the query are specified as command line arguments in the invocation of the program.

The general command syntax is:
nslookup [-option] [name | -] [server]

In other words, nslookup tool query a DNS domain nameserver to lookup and find IP address information of computers in the internet. Convert a host or domain name into an IP address.

nslookup is a service to look up information in the DNS (Domain Name System). The nslookup utility is a unix tool.

 To resolve an IPaddress by reverse lookup, try to perform a PTR query instead of ANY.

dig (domain information groper) is a network administration command-line tool for querying Domain Name Systems (DNS) name servers.

dig is useful for network troubleshooting and for educational purposes. dig can operate in interactive command line mode or in batch mode by reading requests from an operating system file. When a specific name server is not specified in the command invocation, it will use the operating systems default resolver, usually configured via the resolv.conf file. Without any arguments it queries the DNS root zone.

dig supports  Internationalized Domain Name (IDN) queries.

dig is part of the BIND domain name server software suite. dig replaces older tools such as nslookup and the host program.

Answer:  nslookup / dig