Q5Data Communication and Computer Networks
Question
10 marks
Explain the working of DNS (Domain Name System) and HTTP (Hypertext Transfer Protocol).
Answer
DNS translates names to IPs; HTTP transfers web data.
DNS: A hierarchical decentralized naming system. Client queries resolver, which queries root, TLD, and authoritative servers to resolve domain names to IP addresses. HTTP: An application layer protocol for distributed, collaborative, hypermedia information systems. It uses request-response methods (GET, POST) over TCP.