0
0
Computer Networksknowledge~10 mins

DNS (Domain Name System) in Computer Networks - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the primary purpose of DNS.

Computer Networks
The main function of DNS is to translate [1] names into IP addresses.
Drag options to blanks, or click blank then click option'
Anumeric
Bdomain
Chardware
Dprotocol
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing domain names with IP addresses
Thinking DNS translates hardware names
2fill in blank
medium

Complete the code to show the DNS record type used for mapping domain names to IP addresses.

Computer Networks
The DNS record type that maps a domain name to an IPv4 address is called an [1] record.
Drag options to blanks, or click blank then click option'
AA
BTXT
CCNAME
DMX
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing MX which is for mail servers
Choosing CNAME which is for aliases
3fill in blank
hard

Fix the error in the explanation about DNS caching.

Computer Networks
DNS caching helps reduce [1] by storing previous query results temporarily.
Drag options to blanks, or click blank then click option'
Abandwidth
Berrors
Clatency
Dsecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking caching reduces errors
Confusing bandwidth with latency
4fill in blank
hard

Fill both blanks to complete the DNS query process description.

Computer Networks
When a DNS resolver receives a query, it first checks its [1] cache and if not found, it queries the [2] DNS server.
Drag options to blanks, or click blank then click option'
Alocal
Broot
Cauthoritative
Dglobal
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing authoritative with root server
Thinking global cache is checked first
5fill in blank
hard

Fill all three blanks to complete the DNS record comprehension example.

Computer Networks
records = { [1]: [2] for [3] in dns_data if dns_data[[3]]['type'] == 'A' }
Drag options to blanks, or click blank then click option'
Adomain
Bip_address
Crecord
Drecord['name']
Attempts:
3 left
💡 Hint
Common Mistakes
Using record['name'] as key without defining record
Mixing up keys and values