Posts

Showing posts from November, 2015

Linux DNS and DHCP Server

  There are a lot of reasons to use Linux for your networking needs both at home and at work not the least of which is the unbeatable price (free). Linux has a well-deserved reputation for security and high availability that is unrivaled among modern operating systems. Setting up a DHCP and DNS server with Linux is not as hard as you might think especially when using a package called “dnsmasq”. Dnsmasq is a lightweight package that is available from the default Ubuntu repositories. This guide will serve as a step by step guide to set up a basic DNS and DHCP server using dnsmasq. You can use either Ubuntu Server or Ubuntu Desktop for this. The steps will be the same, just keep in mind that if you ever decided to shut this computer off your entire network will go down! So choose a computer that you don’t plan to shut down too often. Step 1 - Network Setup The first thing we need to do is set up a static IP address on the computer we will be using as our server. Ubuntu keeps its network c