Professional Documents
Culture Documents
Assignment 2
Assignment 2
Assignment 2
210938
BSCS-V-A
Question:1
Each object's journey involves a DNS quest and a round-trip rendezvous with the
server.
Collective time for 9 objects: 9 * (2 ms + 44 ms + 60 ms) = 954 ms
Time with a cap of 5 simultaneous TCP connections and fleeting HTTP
connections:
The continuity of connections allows the recycling of the same pathway for
multiple objects.
Time for DNS and round-trip for the initial 5 objects: 5 * (2 ms + 44 ms + 60 ms) =
530 ms
Time for the remaining 4 objects on the existing connections: 4 * (60 ms) = 240
ms
Grand Sum: 530 ms (first 5 objects) + 240 ms (remaining objects on existing
connections) = 770 ms
Optimal Approach:
Question:2
Transport protocol(s) used by DNS: UDP primarily, with TCP for large responses or
certain situations.
Well-known port used by DNS: Port 53.
Number of unique types of Resource Records (RR) at the authoritative
enterprise.com DNS server: 4 (NS, CNAME, A, MX).
Can you send multiple DNS questions and get multiple RR answers in one
message?
No.
To which DNS server does a host send their requests to?
The authoritative DNS server.
Which type of DNS server holds a company's DNS records? Authoritative DNS
server.
Name of the DNS server for enterprise.com in the example: dns.enterprise.com.
How many answers (RR) are returned when contacting the TLD server for
www.enterprise.com?
2.
Content of the A record received from the TLD server: "dns.enterprise.com,
146.54.207.52".
Type of record needed for hosting enterprise.com on east1.enterprise.com:
CNAME.
Type of record containing the name of the enterprise.com domain and its mail
server(s): MX record.
Contents of the MX record for admin@enterprise.com: "enterprise.com,
mail.enterprise.com".
Does your local DNS server take advantage of caching similar to web requests?
Yes.
Question:3
At point 2 in the diagram, what protocol is being used?
SMTP is a 'push' protocol, as it pushes emails from the sender to the receiver's
mail server.
Is HTTP a 'push' or 'pull' protocol?
HTTP is a 'pull' protocol, as the client initiates requests to the server to pull data.
Write the port SMTP uses?