Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1DNS lookup | AThe browser sends a domain name to a DNS server, which searches for it and returns the matching IP address | |
| 2www.example.com -> 93.184.216.34 | BThe DNS server found the domain name in its records and returned the matching IP address to the browser | |
| 3If the first DNS server has no entry for the domain name, it passes the request on to another DNS server | CIf no match is found there is no IP address to use. The DNS server should pass the request to another DNS server instead. | |
| 4The first step of a lookup is the browser sending the domain name to a DNS server | Dif domain not found: ask another DNS server | |
| 5DNS server -> browser: www.example.com | Ebrowser -> DNS server: www.example.com | |
| 6Domain not found: browser uses the IP address anyway | FThe DNS server returns the IP address to the browser, not the domain name. The browser already knows the domain name, so sending it back does not help. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
DNS lookup — The browser sends a domain name to a DNS server, which searches for it and returns the matching IP address. If it has no match, it passes the request to another DNS server.domain ← "www.bbc.co.uk"
ip ← DNS.SEARCH(domain)IF found THEN
RETURN ip
ENDIFIF NOT found THEN
PASS request TO otherDNS
ENDIFIF NOT found THEN
PASS request TO otherDNS
ENDIFIF found THEN RETURN ip
ELSE
OUTPUT "Not found"