DNS server installation and configuring in ubuntu/debain
Written By smart|
8 July 2009|
No Comment
DNSmasq provides two services.
- DNS service
- DHCP service
click here for more info on dnsmasq(must read before installation)
To install in ubuntu/Debian, go to the console and type
$ sudo apt-get install dnsmasq
below is the dnsmasq can be configured file
$/etc/dnsmasq.conf
Once installation is complete, it is time to configure it.
To configure DNS as a teacher, we must edit the file etc/hosts to make the server.
In that file type the IP number and host name that will receive. These include:
Router 192.168.1.1
192.168.1.2 linux1
192.168.1.3 linux2
192.168.1.5 linux3
That is the setup on network
Each time we modify this file must restart the Daemon dnsmasq the following command
$/etc/init.d/ dnsmasq restart











Leave your response!