DNS Lookup   «Prev  Next»

Examining DNS - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. What is the basic function of the nslookup program?
Please select the best answer.
  A. To probe the DNS database for various types of information
  B. To look up only IP addresses in the DNS database
  C. To look up only domain names in the DNS database
  D. To look up only SOA records from a company’s database

2. What file does the nslookup program use to locate a name server?
Please select the best answer.
  A. The /etc/named.boot file
  B. The /var/log/messages file
  C. The /etc/hosts file
  D. The /etc/resolv.conf file

3. Besides the name server process, what are the other parts of the BIND package?
Please select all the correct answers.
  A. The /etc/named.boot file
  B. The /etc/hosts file
  C. The name server data files
  D. The /etc/resolv.conf file

4. What is the function of the directory directive in the name server configuration file?
Please select the best answer.
  A. To declare the server as an authoritative server for a zone
  B. To establish the origin domain and name of the root cache file
  C. To establish an initial path for later file references
  D. To declare the server as a secondary server for a zone

5. For what purpose is the BIND root cache file used?
Please select the best answer.
  A. To serve as a zone file for the loopback address
  B. To provide zone files for authoritative servers
  C. To serve as a configuration file for the name server
  D. To prime the name server with the root server’s addresses

6. What command would you use to direct nslookup to use a server other than the one specified in /etc/resolv.conf?
Please select the best answer.
  A. ls
  B. server
  C. set type
  D. set server

7. What command would you use to direct nslookup to extract the SOA and HINFO records?
Please select the best answer.
  A. ls
  B. server
  C. set type
  D. extract