Skip to main content

How does DNS works??

 How does DNS works?


Firstly 


What is DNS?


DNS is defined as the Domain Name System. Domain name system translates domain names into ip addresses, which is loaded by the browser. Every website, every domain has ip address. It is required for the functioning of the internet.


How DNS works?


Web browser (Client) sends request to the web server, and the web server contains the files of only authorized clients. To determine whether the client is on the authorized list or not, it sends a query to the DNS server and ask for mapping an address to the name. Then DNS resolver sends a request to the DNS server to obtain the IP address of a hostname. DNS resolver is a piece of software code.


DNS resolver sends requests to the root server, then root server directs the DNS resolver to the correct TLD server for the requested domain. DNS resolver again redirects to the Top Level Domain (TLD) server, TLD server shares information of all the domain names that shares the extensions such has .com,.edu, .gov etc. TLD responds with the IP addresses of the of the domain name server. 


DNS resolver again sends the request to the authoritative name server for the information, Authoritative name server contains information related to domain. It responds with the domain IP Addresses. ANS responds back to the DNS resolver. 


At last DNS Resolver responds to the web browser with the IP address for the requested domain.


Types of Domain


Generic Domain : .com, .edu, .net


Country domain : .in, .ca, .au


Inverse domain :  Inverse domain is used for mapping an address to a name. 

Comments

Popular posts from this blog

Attacks that are happening in our daily lives!!!

Lets see Few more attacks that are happening in our daily lives but are unaware about it . Social engineering is a term we are hearing now a days a  lot. But  what is it?  Social engineering is a technique which is aimed to target a victim to reveal the information or performing some illegitimate tasks for his benefits. It is like psychological manipulation for the performing actions. Lets see few techniques with examples below Phishing refers to a technique of fraudulently obtain the private information. It is an attack to steal your money, by getting to know about the personal information by the person. Example : The e-mail which gets especially in festival times usually contains a link to a fraudulent web page that seems legitimate—with company logos and content—and has a form requesting everything from a home address to an ATM card's PIN or a credit card number. Vishing also known as " voice phishing ", is again the same practice of revealing the information over a ...

What is Malware?

What is Malware? Malware is any software intentionally designed to cause disruption to a computer, server, client, or computer network, leak private information, gain unauthorized access to information or systems, deprive access to information, or which unknowingly interferes with the user's computer security and privacy. Few are listed Below A computer virus is a type of computer program that, when executed, replicates itself by modifying other computer programs and inserting its own code into those programs. It infect other computer without the permission or knowledge of the user. Virus may corrupt the system or can steal any data. A worm is a stand-alone malware software that actively transmits itself over a network to infect other computers and can copy itself without infecting files.  A backdoor is a computer program that allows an attacker to gain unauthorized remote access to a victim's machine often without their knowledge. A Trojan horse is any malware that misleads ...

What are SSL and TLS?? What is the difference between SSL and TLS??

What are SSL and TLS?? What is the difference between SSL and TLS?? What is SSL? SSL (Secure Sockets Layer) is networking protocols which helps in securing the network. Transport Layer Security (TLS)  is the upgrade version of SSL. SSL is a digital document that secure the identity of any website. Basically it encrypts the data by using cryptographic key pairs which consists of public and private key. The public key is present in the certificate and allows the web browser to start off the communication given to the server. The private key is on the server and is used to digitally retrieve or sign the web pages and other files such as images, videos, scripting files. In SSL certificate we can see much information also which includes identifying information about the website, its domain name and identifying information about the site's owner. We could also see expiry information, serial number, company issued also about the certificates. To keep the website secure one should buy the...