But as we use different internet resources every day, typing http://188.8.131.52 In the Browser address bar is hard to remember and that's where DNS comes in. It is a domain name system that translates user-friendly Domain names into IP addresses to locate resources on the internet.
Example: The Domain name facebook.com when translated by DNS helps locate the server (184.108.40.206) on which the queried resources is stored.
I always wondered how it is possible for the DNS server to immediately Locates Host assigned to domain names - turns out DNS is not a single central registry rather, there are authoritative name servers all over the world and domain name registrars who maintain an update the master record for domains.
I wrote this to learn a little more about how DNS works and hope you have too.
To read more about DNS See this Wikipedia Article about DNS.