MCQ

Computer Network MCQ – DNS – Part 1

Networking MCQs questions with answers to prepare for exams, tests, and certifications. These questions are taken from a real written exam and some parts are taken from an interview. So you will find questions on CCNA, TCP/IP, Protocols, IP addressing issues, OSI model, and more. This MCQ will easily prepare anyone to pass their exam.
 

1. Which of the following devices translates the host name into an IP address?

A DHCP server

B DNS server

C Hub

D Firewall

B
Domain Name Server, or DNS server, consists in resolving (translating) a domain name into an IP address.
 

 

 

2. What is the DNS client called ?

A DNS Manager

B DNS Controller

C DNS Resolver

D None of the above
 

 
C
A Domain Name System (DNS) resolver, also known as a DNS lookup, resolves a host name into an IP address. This type of resolution helps to understand how web services are hosted, how a domain name is supported, and how various hardware devices match with particular servers and providers.

A DNS resolver is a local server that stores a central database of DNS name servers and handles DNS queries from all clients on your network. With DNS resolvers, your computer does not need to store the addresses of multiple name servers online, as this is a difficult process to manage.
 

 

3. The full host name has a maximum of __________?

A 255 characters

B 127 characters

C 63 characters

D 31 characters

A
The hostname is composed of a series of labels concatenated with dots. A complete hostname can be up to 255 characters in length. Although each label must be between 1 and 63 characters long. For example, “www.stackhowto.com” is a host name.
 

4. Servers handle requests from other domains _______?

A directly

B by contacting the remote DNS server

C it’s not possible

D None of the above

B
Each time a request is received on the server from other domains, it handles this request by contacting the remote DNS server.

 

 

5. The DNS database contains _______?

A “NS” (Name Server) record

B Host “A” record

C hostname alias

D All the answers are true
 

 
D
Each zone file or the DNS database contains one or more resource records, including name server (NS) and address (A) records. Creating and updating the resource records that make up DNS zone files is one of the primary tasks of a DNS administrator.
 
The “NS” (Name Server) records identify the authoritative name servers for the zone. Each zone must have at least one NS record. The use of two or more NS records is preferred, to ensure that if the first name server is unavailable, the zone will still be accessible.
 

Example of the “NS” record:
stackhowto.com.  IN  NS  ns1.stackhowto.com.
stackhowto.com.  IN  NS  ns2.stackhowto.com.

 

Example of the “A” record:
server1.stackhowto.com.  IN  A  72.64.10.52
router1.stackhowto.com.  IN  A  186.118.33.89
www.stackhowto.com.      IN  A  69.71.113.44

 

 

6. If a server does not know where to find the address of a host name, then ______?

A server asks the root server

B server asks its adjacent server

C request is not processed

D None of the above

A
If a server does not know where to find the address of a host name:

  • It asks the root server
  • The root server will tell you which server name to contact
  • A request can be transmitted several times
 

7. Which of the following options allows the client to update its DNS entry when its IP address changes?

A Dynamic DNS

B Mail Transfer Agent

C Authoritative nameserver

D None of the above

A
Dynamic DNS (DDNS) keeps DNS records automatically updated when an IP address is changed.

Dynamic DNS is used in large networks that host internal services and use their own internal DNS and DHCP servers.

 

 

8. Generic domain names begin with __________?

A @

B &

C #

D *

D
A generic DNS record is a record in a DNS zone that will match requests for non-existent domain names. A generic DNS record is specified using a “*” as a label, for example. *.stackhowto.com.

* you cannot match a part of the label as a s*.stackhowto.com

A generic DNS record in a zone file looks like this example:

*.stackhowto.com.   3600 IN  MX 5 mail.stackhowto.com.

 

 

9. The right to use a domain name is delegated by domain name registries that are accredited by__________?

A web architecture consulting

B internet company

C working group on internet research

D Internet Corporation for Assigned Names and Numbers (ICANN)
 

 
D

The Internet Corporation for Assigned Names and Numbers (ICANN) is a non-profit organization responsible for coordinating the maintenance and procedures of several databases related to the Internet’s name and number spaces, thus ensuring the stable and secure operation of the network.

 

 

10. The domain name system is maintained by __________?

A a distributed database system

B only one server

C only one computer

D None of the above

A
A distributed database (DDB) is a set of several logically linked databases distributed over a computer network.
 

 
 
mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *