Port details |
- dnsmasq Lightweight DNS forwarder, DHCP, and TFTP server
- 2.90_2,1 dns =32 2.90_2,1Version of this port present on the latest quarterly branch.
- Maintainer: mandree@FreeBSD.org
- Port Added: 2003-09-05 04:55:22
- Last Update: 2024-07-20 09:03:06
- Commit Hash: 93449df
- People watching this port, also watch:: sudo, rsync, wget, curl, libiconv
- License: GPLv2
- WWW:
- https://www.thekelleys.org.uk/dnsmasq/doc.html
- Description:
- 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/PXE for network booting of diskless machines.
Dnsmasq is targeted at home networks using NAT and connected to the internet
via a modem, cable-modem or ADSL connection but would be a good choice for any
smallish network (up to 1000 clients is known to work) where low resource use
and ease of configuration are important. -- Simon Kelley
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/dns/dnsmasq/ && make install clean
- To add the package, run one of these commands:
- pkg install dns/dnsmasq
- pkg install dnsmasq
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: dnsmasq
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1707863813
SHA256 (dnsmasq-2.90.tar.xz) = 8e50309bd837bfec9649a812e066c09b6988b73d749b7d293c06c57d46a109e4
SIZE (dnsmasq-2.90.tar.xz) = 570672
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- msgfmt : devel/gettext-tools
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libidn2.so : dns/libidn2
- libgmp.so : math/gmp
- libnettle.so : security/nettle
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- devel/libvirt
- for Run
-
- devel/libvirt
Configuration Options:
- ===> The following configuration options are available for dnsmasq-2.90_2,1:
DBUS=off: D-Bus IPC system support
DNSSEC=on: Enable DNSSEC caching and validation (needs nettle)
DOCS=on: Build and/or install documentation
IPSET=on: Dynamic firewall management of resolved names (needs PF)
IPV6=on: IPv6 protocol support
LUA=off: Support lease-change scripts written in Lua
====> Internationalization Support Level: you can only select none or one of them
IDN=off: IDN: Int'l Domain Names WITHOUT full NLS
NLS=on: IDN+NLS: Int'l Domain Names & National Language support
===> Use 'make config' to modify these settings
- Options name:
- dns_dnsmasq
- USES:
- cpe shebangfix tar:xz gettext gmake iconv pkgconfig pkgconfig
- pkg-message:
- To enable dnsmasq, edit /usr/local/etc/dnsmasq.conf and
set dnsmasq_enable="YES" in /etc/rc.conf[.local]
Further options and actions are documented inside
/usr/local/etc/rc.d/dnsmasq
SECURITY RECOMMENDATION
~~~~~~~~~~~~~~~~~~~~~~~
It is recommended to enable the wpad-related options
at the end of the configuration file (you may need to
copy them from the example file to yours) to fix
CERT Vulnerability VU#598349.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.57_2,1 22 Feb 2011 19:20:17 |
mandree |
Update dnsmasq rc.d script again (sorry for the churn with portrev. 1)
- Start before named, to unbreak named_wait if /etc/resolv.conf points
to dnsmasq (when named is the resolver that dnsmasq forwards to).
Is also more robust/maintenance friendly if other scripts depend on "named".
- Track if the configuration has changed since start, and upgrade reload
to restart by default in that case (can be disabled with
dnsmasq_restart="NO" in /etc/rc.conf[.local]), to work around dnsmasq
shortcoming
- Add a "logstats" action to the rcscript, and document it.
- Document the "reload" action and the new dnsmasq_restart variable.
- Properly quote variable expansions.
- Enhance pkg-message to point to the rcfile for feature documentation.
- Bump PORTREVISION to 2. |
2.57_1,1 22 Feb 2011 17:19:28 |
mandree |
Change rc.d file to ensure proper startup order:
- depend on named, in case dnsmasq uses named as resolver
- start before ntpdate and rpcbase (which require named).
Bump PORTREVISION. |
2.57,1 21 Feb 2011 08:50:57 |
mandree |
Upgrade to new upstream release 2.57.
Remove support for FreeBSD releases 6.X.
Allow build with IDN but without NLS (this requires that dns/libidn
is also built WITHOUT_NLS) to expose an upstream change. Useful for embedded
devices.
Warn user if this is requested but libidn needs NLS libraries
because in that case dnsmasq inherits the NLS dependencies from libidn.
Remove files/patch-aa, it was a preview patch from a 2.57 test release,
fixing a regression in 2.56 that caused hex constants to be rejected in
the configuratino if they contained the '*' wildcard.
Further upstream changes:
- use own header for DNS protocol, rather than using arpa/nameser.h
- correct ctype.h function argument casts (isdigit(), isxdigit(), etc.)
- Accept extra empty arguments on command line to avoid libvirt breakage. |
2.56_1,1 16 Feb 2011 15:57:59 |
mandree |
Expand NLS/IDN comment. |
2.56,1 16 Feb 2011 15:56:30 |
mandree |
Update pkg-descr and add author attribution since it's a full quote. |
2.56_1,1 16 Feb 2011 14:34:14 |
mandree |
Fix regression in config parser.
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2011q1/004750.html |
2.56,1 15 Feb 2011 21:49:07 |
mandree |
Update to new upstream release 2.56.
Replace uni-paderborn.de master site by MASTER_SITE_LOCAL.
Add LICENSE=GPLv2.
Changelog:
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG |
2.55,1 08 Jun 2010 20:01:50 |
mandree |
Upgrade to upstream bugfix release 2.55, removing version hack.
Note this version fixes two crashes on startup.
Approved by: garga (mentor) |
2.54,1 05 Jun 2010 13:14:23 |
mandree |
Update pkg-descr (minor fixes; formatting).
Approved by: miwi (mentor) |
2.54,1 04 Jun 2010 12:11:14 |
mandree |
Upgrade to new upstream release dnsmasq 2.53/2.54.
This release was inadvertently dubbed 2.54 in its logging by Simon Kelley,
so adjust our PORTVERSION to match that, but still build the 2.53 tarball.
Simon will treat 2.53 and 2.54 the same and release 2.55 next time.
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q2/004105.html
Check work/dnsmasq-2.53/src/config.h for VERSION after "make extract" to see.
Approved by: garga (mentor) |
2.52_1,1 04 Jun 2010 08:09:20 |
pav |
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it
PR: ports/146329
Submitted by: mm
With hat: portmgr |
2.52_1,1 31 May 2010 02:01:56 |
ade |
Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. |
2.52,1 28 Mar 2010 05:52:12 |
dougb |
Cleanse more RC_SUBR and RC_SUBR_SUFFIX variables |
2.52 27 Mar 2010 00:15:24 |
dougb |
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr# |
2.52,1 23 Jan 2010 11:24:31 |
mandree |
Change MAINTAINER to my FreeBSD address.
Update to new upstream release 2.52. Changelog excerpt below the approval.
Approved by: miwi (mentor)
Upstream changelog excerpt (omitting Linux, Solaris and MacOS X specifics):
[...] Re-read the set of network interfaces when re-loading /etc/resolv.conf
if --bind-interfaces is not set. This handles the case that loopback
interfaces do not exist when dnsmasq is first started.
Tweak the PXE code to support port 4011. This should reduce broadcasts and
make things more reliable when other servers are around. It also improves
inter-operability with certain clients.
Make a pxe-service configuration with no filename or boot service type legal: (Only the first 15 lines of the commit message are shown above ) |
2.51,1 14 Oct 2009 10:34:57 |
miwi |
- Update to 2.51
PR: 139583
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) |
2.51.r1 13 Oct 2009 16:35:32 |
wxs |
- Update to 2.51rc1
- Add pkg-message
- Add NLS and IDN option (currently linked together in one option, this will
be changed in future releases hopefully)
- Properly handle example configuration files
PR: ports/139273
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) |
2.50 02 Sep 2009 12:18:10 |
miwi |
- Update to 2.50
PR: 138415
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Security:
http://www.freebsd.org/ports/portaudit/80aa98e0-97b4-11de-b946-0030843d3802.html |
2.49_2 13 Aug 2009 21:05:46 |
miwi |
* Fix rcfile bugs (and bump PORTREVISION):
- load configuration earlier so that we don't run without config file,
analyzed, reported and patch suggested by Fumiyuki Shimizu
- mention /etc/rc.conf.local (as suggested in the Porter's handbook)
- mention dnsmasq_flags for additional command line arguments
- pass pidfile and dnsmasq_conf as arguments to dnsmasq (previously,
overriding dnsmasq_conf had no effect).
* Fix COMMENT to mention TFTP server; shorten it so it fully fits on the
pkg_info list.
PR: 137506
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) |
2.49_1 15 Jul 2009 22:57:30 |
amdmi3 |
- add reload support for rcfile
PR: 136797
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Suggested by: Maxim Khitrov <mkhitrov@gmail.com> |
2.49 15 Jun 2009 21:07:27 |
miwi |
- Update to 2.49
PR: 135525
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) |
2.48 05 Jun 2009 23:14:58 |
amdmi3 |
- Update to 2.48
PR: 135270
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer) |
2.47 04 May 2009 18:44:45 |
miwi |
- Pass maintainership to Matthias Andree <matthias.andree@gmx.de> |
2.47 25 Mar 2009 15:04:08 |
miwi |
- Mark MAKE_JOBS_SAFE for SMP compilation |
2.47 11 Mar 2009 17:58:40 |
miwi |
- Fix mail adress |
2.47 09 Mar 2009 18:37:10 |
miwi |
- Take over maintainership |
2.47 09 Feb 2009 22:58:45 |
miwi |
- Update to 2.47
Approved by: maintainer implicit |
2.46 08 Jan 2009 12:38:49 |
pav |
- Fix link with dbus on FreeBSD 6.x
PR: ports/127848
Reported by: Matthias Andree <matthias.andree@gmx.de>
Approved by: maintainer timeout (farrokhi; 3 months) |
2.46 15 Nov 2008 22:53:13 |
miwi |
- Update to 2.46
Approved by: maintainer implicit |
2.45 24 Jul 2008 12:32:15 |
miwi |
- Update to 2.45
Approved by: maintainer implicit |
2.43 19 Jul 2008 13:21:54 |
miwi |
- Update to 2.43
Approved by: maintainer implicit |
2.42 20 Jun 2008 22:05:40 |
miwi |
- Update to 2.42
Approved by: maintainer implicit |
2.41 20 Mar 2008 22:59:51 |
miwi |
- Update to 2.41
Approved by: maintainer implicit |
2.40 20 Mar 2008 09:37:21 |
pav |
- Remove USE_GETOPT_LONG which is a no-op since March 200 |
2.40 04 Sep 2007 22:30:15 |
miwi |
- Update to 2.40
Approved by: maintainer implicit |
2.39 09 Jul 2007 12:51:37 |
miwi |
- Update to 2.39
Approved by: maintainer implicit |
2.38 14 Feb 2007 12:06:02 |
miwi |
- Update to 2.38
Approved by: maintainer (implicit) |
2.37 10 Feb 2007 11:39:21 |
miwi |
- Update to 2.37
Approved by: maintainer (implicit) |
2.36 22 Jan 2007 13:07:22 |
miwi |
- Update to 2.36
Approved by: maintainer (implicit) |
2.35 08 Nov 2006 09:28:33 |
farrokhi |
Change my email address to farrokhi@ in all ports that I maintain.
Approved by: miwi (mentor) |
2.35 04 Nov 2006 22:36:46 |
miwi |
- Update to 2.35
PR: ports/105013
Submitted by: Babak Farrokhi (maintainer)
Sponsored by: FreeBSD Bug-a-thon #2 |
2.34 31 Oct 2006 09:16:13 |
miwi |
- update to 2.34
PR: ports/104527
Submitted by: Babak Farrokhi <babak@farrokhi.net> (maintainer) |
2.33_1 21 Aug 2006 11:51:06 |
miwi |
- Fix rc script installation
- Update MASTER_SITES
- Bump PORTREVISION
PR: ports/102284
Submitted by: Babak Farrokhi <babak(at)farrokhi.net>
Approved by: krion (mentor) |
2.33 10 Aug 2006 07:48:24 |
rafan |
- Update to 2.33
PR: ports/101745
Submitted by: Babak Farrokhi <babak at farrokhi.net> (maintainer) |
2.32_1 01 Aug 2006 19:58:37 |
itetcu |
- fix dbus dependency issue
- change IPv6 OPTION default to off
- bump PORTREVISION
PR: ports/101172
Submitted by: Babak Farrokhi (maintainer) |
2.32 13 Jul 2006 18:25:35 |
rafan |
- Update to 2.32
- Pass maintainership to submitter
PR: ports/100207
Submitted by: Babak Farrokhi <babak farrokhi.net> |
2.26_1 06 Jun 2006 12:01:06 |
itetcu |
Remove email address at submitter request (private mail).
Approved by: lawrance (mentor, implicit) |
2.26_1 06 Jun 2006 09:31:28 |
itetcu |
Unfortunately I no longer use dnsmasq, so I don't have a way to reliabily test
updates, so I therefore feel the best thing to do is resign as maintainer and
hope that another FreeBSD user who uses dnsmasq actively will take over as
maintainer. [1]
OPTIONify [2]
PR: 98584 [1]
Submitted by: Steven Honson (former maintainer) [1]
itetcu (me) [2]
Approved by: lawrance (mentor, implicit) |
2.26_1 22 Feb 2006 20:16:25 |
ehaupt |
- Add support for WITH_DBUS
- Install contributed perl example scripts
- Install additional user documentaiton
- Bump PORTREVISION
- Add to sub-category ipv6 (self)
PR: 92379
Submitted by: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
Approved by: Steven Honson <steven@honson.org> (maintainer) |
2.26 25 Jan 2006 11:01:34 |
anray |
Update to 2.26
PR: ports/92246
Submitted by: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
Approved by: Steven Honson (maintainer) |
2.23 22 Jan 2006 08:31:47 |
edwin |
SHA256ify
Approved by: krion@ |
2.23 24 Oct 2005 01:36:21 |
mnag |
Update to 2.23
Fix IPv6 build. Thanks to Richard Hirner
PR: 87867
Submitted by: Steven Honson <steven@honson.org> (maintainer) |
2.22_1 11 Oct 2005 18:25:05 |
sem |
- Fix rcNG script
PR: ports/87163
Reported by: Michael Blatt <michael.blatt@gmail.com> |
2.22 16 Jul 2005 01:23:02 |
leeym |
- utilize USE_RCORDER / USE_RC_SUBR to solve this problem when OSVERSION >
500037
PR: 80054
Patched by: leeym
Submitted by: Thomas Schweikle <tps@vr-web.de>
Approved by: maintainer timeout |
2.22 05 Apr 2005 15:18:43 |
leeym |
- update to 2.22
PR: 79563
Submitted by: maintainer |
2.20 14 Feb 2005 17:12:36 |
vs |
Update to 2.20
PR: ports/77502
Submitted by: maintainer |
2.19 26 Dec 2004 16:59:31 |
krion |
Update to version 2.19
PR: ports/75505
Submitted by: maintainer |
2.18 13 Dec 2004 01:12:31 |
sem |
- Update to 2.18
PR: ports/74704
Submitted by: maintainer |
2.17 18 Nov 2004 12:53:12 |
vs |
Update to 2.17
PR: ports/74032
Submitted by: maintainer |
2.15 13 Oct 2004 09:16:07 |
sergei |
- Update to 2.15 (major bug fix)
PR: ports/71973
Submitted by: Steven Honson (maintainer)
While I'm here:
- Shorten long lines in Makefile to avoid wrapping |
2.11 14 Aug 2004 11:49:51 |
krion |
Update to 2.13
PR: ports/70448
Submitted by: maintainer |
2.11 04 Aug 2004 14:12:49 |
leeym |
- update to version 2.11, fixes FreeBSD builds under -CURRENT
- add minor cosmetic fix
PR: 69999
Submitted by: Steven Honson <steven@honson.org> |
2.10 31 Jul 2004 13:28:33 |
sem |
Update to version 2.10
PR: ports/69841
Submitted by: maintainer |
2.9 30 Jun 2004 07:14:28 |
krion |
Update to 2.9
PR: ports/68491
Submitted by: maintainer |
2.7 29 Apr 2004 08:24:39 |
krion |
- Update to version 2.7
PR: ports/65930
Submitted by: maintainer |
2.6 04 Apr 2004 13:57:57 |
pav |
- Update to 2.6
PR: ports/65159
Submitted by: Steven Honson <steven@honson.org> (maintainer) |
2.5 22 Mar 2004 00:34:31 |
nork |
New description to include information about DHCP server features.
PR: ports/64554
Submitted by: Steven Honson <steven@honson.org> (maintainer) |
2.5 18 Mar 2004 09:16:02 |
krion |
- Update to version 2.5
PR: ports/64407
Submitted by: maintainer |
2.2 06 Feb 2004 13:12:53 |
trevor |
Use PLIST_FILES (bento-tested, marcus-reviewed). |
2.2 01 Feb 2004 23:50:52 |
pav |
- Update to 2.2
PR: ports/62231
Submitted by: Steven Honson <steven@honson.org> (maintainer) |
2.1 30 Jan 2004 14:01:35 |
arved |
Update to 2.1
PR: 62083
Submitted by: Steven Honson <steven@honson.org> |
1.18 10 Nov 2003 13:26:57 |
leeym |
Update to version 1.18
PR: 59099
Submitted by: Steven Honson <shonson@isoproplex.net> |
1.17 13 Oct 2003 19:36:10 |
krion |
- Update to version 1.17
PR: 57919 57882
Submitted by: maintainer, Matt Peterson <matt@peterson.org> |
1.13 05 Sep 2003 04:54:37 |
edwin |
Massive repo-copies request: net->dns (partly devel->dns)
PR: ports/56020
Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Approved by: portmgr |