When you type www.yahoo.com, how can a computer find that page? It “asks” DNS servers.
DNS servers tell users where to search for a website. (This action is actually much more complicated than that, but it sums up about 80 percent of their functions).
A nameserver is a computer that is permanently connected to the internet and translates IP addresses into a more readable name for us, meaning it allows us to write only POROSITWEB.COM instead of silly numbers like http://220.127.116.11/. When you register a domain name for a website you will need two nameserver, according to them determine where your website will be directed to.