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.

Tags Internet DNS
Licenses GPL
Operating Systems Mac OS X POSIX Linux BSD OpenBSD NetBSD FreeBSD
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  10 Jun 2009 20:56
  • Rrelease-after

    Changes: This is a point release primarily to fix a regression in version 2.48 that broke the --dhcp-script function. Anyone running 2.48 and needing this should upgrade to 2.49; other 2.48 installations need not bother.

    • Rrelease-mid
    •  04 Jun 2009 21:45
    • Rrelease-after

      Changes: The main addition in this release is additional support for the PXE protocol. Dnsmasq can now send boot menus to a PXE client and act as a fully-fledged PXE boot sever. There are also logging improvements and some minor bugfxes.

      • Rrelease-mid
      •  05 Feb 2009 21:30
      • Rrelease-after

      Changes: Bugs fixed include NetBSD 5.0 compatibility, DBus configuration, and network interface binding. Additional features include more flexible encapsulated DHCP options (for gPXE), better DHCP packet matching facilities, and IP address rewriting.

      • Rrelease-mid
      •  14 Nov 2008 21:22
      • Rrelease-after

      Changes: This release adds two frequently-requested features: ability to handle more than one DNS domain, and static DHCP address assignment to more than one MAC address (for laptops with both wired and wireless networking). There are also enhancements to the DBus interface and a (limited) facility to return CNAME DNS records.

      • Rrelease-mid
      •  20 Jul 2008 23:17
      • Rrelease-after

      Changes: This release fixes a major problem in 2.44 where the DNS function failed unless the --min-port flag was given.

      Rss Recent comments

      Rcomment-before 13 Sep 2004 13:53 Rcomment-trans psypete Rcomment-after

      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 http://psydev.sourceforge.net/new/dynamic-dnsmasq/

      Rcomment-before 12 Sep 2004 12:31 Rcomment-trans psypete Rcomment-after

      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?

      Rcomment-before 09 Dec 2002 14:53 Rcomment-trans Neskren Rcomment-after

      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!

      Rcomment-before 10 Jun 2002 13:41 Rcomment-trans simonkelley Rcomment-after

      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.

      Rcomment-before 27 Feb 2002 10:17 Rcomment-trans simonkelley Rcomment-after

      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.

      No-screenshot

      Project Spotlight

      iptables

      A Linux kernel packet filter control tool.

      1534fa35448775e108c75a8838ed24ce_thumb

      Project Spotlight

      Peanut

      A tiny JPEG comment editor.