Projects / Dnsmasq


Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and (optionally) DHCP to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP for network booting of diskless machines.

Operating Systems

Recent releases

  •  17 Aug 2012 10:19

    Release Notes: The main addition in this release is a new mode, --bind-dynamic, which both avoids binding the wildcard IP address and copes with dynamically created network interfaces, thus removing the main limitations of the two existing network modes.

    •  06 Jun 2012 19:51

      Release Notes: This bugfix release fixes problems with the Router advertisement feature which could result in totally missing advertisements or no response to router solicitations.

      •  29 Apr 2012 15:20

        Release Notes: This release has a lot of extra work on the DHCPv6 code that debuted in 2.60. Many bugs have been fixed and extra features added. The router advertisement feature is now much more configurable, and there's a mode that allows dnsmasq to make AAAA DNS records for hosts that use SLAAC IPv6 addresses and DHCP IPv4 addresses.

        •  05 Mar 2012 21:01

          Release Notes: This release adds major new features, Lua scripting, and DHCPv6. The scripting interface has been expanded to allow DHCP scripting in Lua. The Lua interpreter is part of the dnsmasq process and remains resident, giving global variables that are persistent between calls to the script. The DHCP subsystem has been expanded to include support for DHCP for IPv6 addresses, as well as IPv6 Router advertisement.

          •  18 Oct 2011 20:50

            Release Notes: This release addresses a couple of issues that have surfaced with dnsmasq-2.58, which could cause problems at startup with IPv6 link-local addresses. One is a regression in dnsmasq, and the other stems from a change in the behaviour of bridge interfaces in recent Linux kernels.

            Recent comments

            13 Sep 2004 13:53 psypete

            Re: little idea
            although i inferred from dnsmasq's docs that you can update the dns to contain a record for a dhcp host based on the dhcp host's advertised name, i went ahead and threw together a perl script to act as a dynamic dns server. the benefit is in instances where you have a dial-up client that wants to keep a hostname in dnsmasq up-to-date with its current public IP. you can try it out at

            12 Sep 2004 12:31 psypete

            little idea
            I was just thinking, it would be awesome if the ability to serve DNS addresses for local machines could be extended to do dynamic dns... that way a machine using dhcp's hostname/domain name could still be resolved from whatever other machine. Or is this already supported?

            09 Dec 2002 14:53 Neskren

            It was good, it is excellent!
            The author just added a new feature to the already excellent dnsmasq: now you can specify which nameservers are to be used for a particular domain!

            This solved a problem when using the VPN of my company with my home connection.

            Great piece of software: simple and efficient!

            10 Jun 2002 13:41 simonkelley

            Re: OpenBSD 2.8

            > doesn't work on openbsd 2.8,sure looks
            > nice though

            Version 1.6 is reported as working with OpenBSD 2.8 out of the box. See the FAQ and config.h for instructions on correct compilation.

            27 Feb 2002 10:17 simonkelley

            Re: OpenBSD 2.8

            > doesn't work on openbsd 2.8,sure looks
            > nice though

            If any openbsd users want to get in touch with me, it shouldn't be difficult to make it work.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.