I want to create a DNS Server (like Google does - 8.8.8.8). I understand that a DNS Server is a Server that gives a IP on being given a hostname, ie. when I ask it what is the IP of google.com, it says 64.233.160.0.So, what I want to do is create a similar one that holds records of what translates to what. I thought of this since it looks to be similar to a webserver - ask for a page and it gives back the page. That is, when my machine has the IP xxx.xxx.xxx.xxx and people chose xxx.xxx.xxx.xxx as their Primary DNS Server, then when they ask www.google.com, I sould be able to tell 64.233.160.0.So, how do I create this DNS Server that is accessible to everyone in the world ? It would be easier if we have something like EasyPHP which is the analogue to a webserver here.
Creating a DNS Server
dns;server;dns servers
I'll try to answer as best I can, but I'm new to this site as well.DNS servers can basically be made on 2 platforms: on Linux/Unix or on Microsoft.I'm going to make an educated guess and say that you're more familiar with Microsoft (MS) products than Linux.  If that's wrong, let me know and we can discuss something in Linux. In MS world, you could download Server 2008 operating system and virtualize as in this tutorial http://www.sysprobs.com/install-run-windows-2008-r2-x86-sun-virtualbox to do just that.  Once inside, go to server manager and either just install the dns role or promote your computer to a domain controller (this will automatically give you dns server) as in this http://www.techrepublic.com/blog/datacenter/how-do-i-install-and-configure-a-dns-server-in-windows-server-2008/327 tutorial.Once you get to that point, open dns through administrative tools and it's all downhill from there.  Add zones, host records, mx records, try different things.  It's all on the tabs of the dns tool.  If it's virtualized you can't really mess up too much.As for how to make it accessible to the world. You'll need to open the dns related port on the router.  That just makes the server accessible.  For anyone to actually use it, they'll have to trust you. So you'll need to have some reason for other DNS servers to want to forward their requests to you.  Unless you're the primary zone for some underlying network (like the DNS for IBM or Coca Cola or the country of Argentina, etc.) then you might have a tough time getting traffic.  Remember that DNS servers don't know you and don't trust you, especially due to the large number of toxic and malicious attempts to subvert DNS requests.  Assuming that you're not trying to do that, then get some underlying network and you'll be on your way.  Try advertising.