A DNS is a domain name system server that answers queries about domain names by providing the relative IP address. It is a must for www working; without it, users will have to learn the IP addresses of every website that they want to visit and type them manually in their browser (or add them manually to host files), which is impossible.
There are a lot of programs that provide DNS services under Ubuntu, but the most common one is BIND.
If you missed installing BIND during the Ubuntu Server installation, you can do it now, and there is more than one way of doing that.
You can either use the tasksel
utility, which will automatically install for you the two bind9
and bind9-doc
packages. Alternatively, you can use the apt-get
tool, as follows:
sudo apt-get install bind9 bind9-doc
Once the BIND packages are installed, it is fully configured and functional with the default parameters that allow it to work as a caching DNS for recursive queries. You can...