Posts

Showing posts from March, 2025

Some imp concept

TCP vs UDP Protocol TCP: 1)relaiable:Ensure data is recieved correctly and in order 2)Conncection-oriented:Connection is established before communication 3)Error checking and acknowledgement:No data loss 4)slower 5)used in web services(http/https),email,file transer UDP: 1)faster 2)Connectionless 3)No error checking 4)used in gamming,live streaming,video calls,DNS Main Difference in One Line: TCP = Reliable, but slower. (Used when accuracy is important) UDP = Fast, but unreliable. (Used when speed matters more than accuracy What is DNS and how DNS works? In short,DNS is a phonebook for the internet.It maps website name to IP adress of web server. Working: 1)Entering website name 2)Browser check Local cache 3)OS system cache check 4)DNS resolver (also called DNS lookup):From the ISP of he internet.IF not fouund,it perform step by step lookup to four dns resolver 5)Name server:Direct it to correct TLD server.Total 13 nameserver worldwide managed by different organization 6)TLD server:...