Showing posts with label computer networks. Show all posts
Showing posts with label computer networks. Show all posts

Wednesday, September 22, 2021

Differentiate between Domain Name System (DNS) and Address Resolution Protocol (ARP)

Key differences between DNS and ARP; differentiate between domain name system and address resolution protocol; what does DNS do, what does ARP do

Domain Name System (DNS) Vs Address Resolution Protocol (ARP)

Both are special protocols to support Internet "infrastructure". DNS and ARP cannot be compared. ARP is needed for packet transfers and DNS is not needed but reduces complexity.

 

Domain Name System (DNS):


  • The Domain Name System (DNS) is a hierarchical and decentralized naming system for computing resources connected to the network (typically Internet).
  • Application-layer protocol.
  • Uses User Datagram Protocol (UDP) (or Transmission Control Protocol (TCP)) on port 53.
  • Maps domain name to IP address and vice versa.

 

Address Resolution Protocol (ARP):

 
  • The Address Resolution Protocol (ARP) is a communication protocol used for discovering the link layer address.
  • Protocol to support Data Link Layer (DLL) delivery.
  • Maps IP address to MAC address.
  • Uses link-layer frames


******************

Related links

Can we compare DNS and ARP

Why can't we compare domain name system and address resolution protocol

In which layer the ARP works

In which of the network layer stack, the DNS work

Difference between twisted pair and fiber optic cables

Differentiate between "optic-fiber" cable and "twisted pair" cable; which among different type of cables are efficient for more bandwidth applications; advantages and disadvantages of optic-fiber cable and twisted pair cable.

Twisted pair cable Vs Optic-fiber cable

Both are physical layer transmission technologies used in networks. 

 

Twisted pair is a type of cabling which is made up of two insulated copper wires twisted together to enable protection from crosstalk or interference from other adjunct twisted pair cables.

 

Optical fiber cables carry information in the form of data between two places using optical or light-based technology. Once the light beams travel down the optical fiber cable (OFC), they would emerge at the other end. A photoelectric cell will be required to turn the pulses of light back into electrical information the computer could understand. [Please refer here to know more about fiber-optic cable]

 

Twisted pair cable

Fiber optic cable

·        Two strands of copper wire, twisted around each other.

·        Uses electrical signals.

·        Limited bandwidth.

·        It can serve short distance networks.

·        Speed can be upto 1Gbps.

·        Single cable can be shorter (100 metres or less)

·        They can be connected easily with other twisted pair.

·        Electrical interference is possible as other twisted pairs are going parallel.

·        It is easy to break.

·        Least expensive

·        Ultra-thin, refined glass.

·        Uses light pulses. Total internal reflection.

·        Immense bandwidth.

·        It can serve long distance hence used in long-haul networks.

·        It can carry large amount of data at very high speed.

·        Single cable length can be longer.

·        It is very difficult to connect two cables without data loss.

·        No electrical interference since no electricity is used.

·        Fiber optic cable can be damaged easily.

·        Expensive.

 

**************

Related links

 

Find the key differences between twisted pair and fiber optic cables

Which is better - optic-fiber or twisted pair cable

Explain about fiber optic and twisted pair cables

Why cables are twisted in twisted pair cable technology?

Difference between Circuit-switched and Packet-switiched networking methods

Differentiate between circuit-switched network and the packet-switched network

Circuit-switched Vs Packet-switched

A packet-switched network transports data units called packets through a maze of switches, where packets are queued and routed toward their destination. Packets are subject to a variable delay and loss and possibly arrive at their final destination out of order. 

 

A circuit-switched network is made of a set of switches connected by physical links. Communication via circuit switching involves three phases: setup, data transfer, and teardown. In circuit switching, the resources need to be reserved during the setup phase, and the resources remain dedicated, without interruption, for the entire duration of data transfer until the teardown phase.

 

Circuit-switched

Packet-switched

·        Traditional telephone network design

·        Connection-oriented.

·        Requires dedicated end-to-end connection during calls.

·        Single path for entire duration of call. During the call no other traffic can use this path.

·        Switches maintain important state about calls.

·        Dumb devices at network edge. All the smarts are in the network core.

·        Wastage of bandwidth as it is reserved before call.

·        Data network design for Internet.

·        Connection-less*

·        Data is split into packets and each one is addressed and routed through the network.

·        Data packets can make use of most efficient route and reassembled at the receiver end.

·        Routers maintain minimal state about active calls.

·        Smarts are at network edge.

·        No wastage of bandwidth due to independent path chosen by packets.

 

* virtual-circuit packet switching are connection-oriented.

 

***************

Related links

 

What is circuit-switching

What is packet switching

Which of the switching methods can be used in both analog and digital

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents