header image
Home arrow Newsletter arrow LUG How Tos arrow How To set up DNS server
How To set up DNS server Print
Sep 01, 2007 at 03:25 PM

How To set up DNS name server with Dnsmasq for Ubuntu/Debian.

More info listen Linux Reality #60 and How To.
Give your server a static IP address and restart server networking. more...

Install Dnsmasq on the server.
    sudo apt-get install dnsmasq
or get binary file from Linux App Finder http://linuxappfinder.com/package/dnsmasq
    Copy file to the server and install it with dpkg -i command.
    sudo dpkg -i dnsmasq_2.33-1_i386.deb

To start, restart or stop Dnsmasq:
    /etc/init.d/dnsmasq start
    /etc/init.d/dnsmasq restart
    /etc/init.d/dnsmasq stop

Adding name server to client desktop/loptop:
Linux:
    Configure /etc/resolv.conf file
        sudo vi /etc/resolv.conf
    Add DNS Name Server to the file
        nameserver <ip address of your new name server>

Windows:
    1) Click Network Connections from the Control Panel.
    2) Choose your connection from the Network Connections window.
    3) Click Properties button.
    4) Select Internet Protocol (TCP/IP) and click Properties.
    5) Click the radio button “Use the following DNS server addresses” and type in <ip address of your new name server> in the Preferred DNS server and Alternate DNS server fields, then click OK.

Check OpenDNS project. OpenDNS is a safer, faster, smarter and more reliable way to navigate the Internet. Our service is free and requires nothing to download.

EC_LUG -Eau Claire Linux users group is an informal group of Linux and open source software enthusiasts.

We meet each Thursday at 7 p.m. at Dooley's Pub, 442 Water Street, Eau Claire, Wisconsin

Linux 101:
What's All The Fuss? video...

Mac vs. PC: How Would Linux Fit?
video1...

video2...
video3...

Linux User GroupsLug Link Logo