Port details on branch 2025Q2 |
- dnsmasq-devel Lightweight DNS forwarder, DHCP, and TFTP server
- 2.92.t14,6 dns
=0 2.92.t14,6Version of this port present on the latest quarterly branch. DEPRECATED: Short-lived test branch, to be removed after v2.92 release
- Maintainer: mandree@FreeBSD.org
 - Port Added: 2025-04-07 07:39:07
- Last Update: 2025-06-23 22:20:53
- Commit Hash: 9f722a6
- 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:
-
- dnsmasq-devel>0:dns/dnsmasq-devel
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/dns/dnsmasq-devel/ && make install clean
- To add the package, run one of these commands:
- pkg install dns/dnsmasq-devel
- pkg install dnsmasq-devel
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: dnsmasq-devel
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1750716872
SHA256 (dnsmasq-2.92test14.tar.xz) = cacd60d76b11ead7eacc1bbf3e7ed48cd667989af49b48f1fe4872946dbad51b
SIZE (dnsmasq-2.92test14.tar.xz) = 583132
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
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for dnsmasq-devel-2.92.t14,6:
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-devel
- 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
NOTE: when using dnssec, inaccurate system clocks
can cause DNS resolution to fail
because DNSSEC signatures may then not validate.
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.92.t14,6 23 Jun 2025 22:20:53
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test14
Upstream changelog since v2.92test13, all changes by Simon Kelley:
* ec8f3e6 2025-06-23 | Tweak domain-specific servers and DNSSEC code to treat
servers for plain names (server=//1.2.3.4) as domain-specific. (tag:
v2.92test14)
* 15841f1 2025-06-22 | Fix issue with fast file-descriptor close on *BSD.
* ade9749 2025-06-20 | Trvial formatting fix.
* 2b19285 2025-06-20 | Fix breakage of ipset on *BSD.
* a444715 2025-06-20 | Fix FTBFS on Jurassic gcc versions.
PR: 287324
MFH: 2025Q2
(cherry picked from commit 00b0a8a6b670832b1849a1317c2481ba8da56989) |
2.92.t13,6 09 Jun 2025 22:51:32
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test13
changes:
* 14e81b6 2025-06-06 | Additional sanity check in filter_servers(). (tag:
v2.92test13) [Simon Kelley]
* 6ce7f2d 2025-06-06 | Fix regression in
9e67099ce73c1105da3db9b611480bfadbf60c73 [Simon Kelley]
...which was this change in v2.92test4:
* 9e67099 2025-04-22 | Tidy up replies to non-QUERY DNS opcodes in auth mode.
[Simon Kelley]
MFH: 2025Q2
(cherry picked from commit e709bb9a91ecaea354945c62da4787f99c5d6b66) |
2.92.t12,6 04 Jun 2025 05:07:11
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test12
Upstream change:
* 287d6bc 2025-06-03 | Fix 5846f749e5d878b6b5f7c20f6975bc96b95e4aae (tag:
v2.92test12) [Simon Kelley]
Which revises this change in v2.92test11:
* 5846f74 2025-05-29 | Rewrite chunks of inotify.c to remove a memory leak.
[Simon Kelley]
MFH: 2025Q2
(cherry picked from commit ca01f25f18636b719ea57d1789ed28672681b498) |
2.92.t11,6 03 Jun 2025 17:35:39
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test11
Changes since v2.92test10:
* c378d2c 2025-06-02 | Fix crash in filter_servers(). (tag: v2.92test11) [Simon
Kelley]
* 5846f74 2025-05-29 | Rewrite chunks of inotify.c to remove a memory leak.
[Simon Kelley]
* c9a4240 2025-05-24 | Unbreak compilation on non-Linux systems (FreeBSD)
[Matthias Andree]
(The latter was already in FreeBSD's port.)
MFH: 2025Q2
(cherry picked from commit 076249c799105fe08a1a2a090be5104e897ae3b4)
(which was dns/dnsmasq-devel: Revise files/update.py script.)
(cherry picked from commit 7db750b4c241145c5eb3a9a00f2ae78afaac391b) |
2.92.t10,6 24 May 2025 19:50:47
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test10 with one FreeBSD patch
Changes since v2.92test9:
This one has been submitted upstream to unbreak compilation:
* e4bc90e 2025-05-24 | Unbreak compilation on non-Linux systems (FreeBSD)
[Matthias Andree]
These are part of the official v2.92test10:
* 90b2485 2025-05-24 | Remove compiler warnings for obscure combinations of
build options. (tag: v2.92test10) [Simon Kelley]
* ebef27f 2025-05-24 | Add TFTP options windowsize (RFC 7440) and timeout (RFC
2349). [Simon Kelley]
* 1861a88 2025-05-21 | Only define variable "a" if we HAVE_LINUX_NETWORK
[Matthias Andree]
* 96bdb42 2025-05-20 | Fix GCC's -Wunterminated-string-initialization warning in
edns0.c. [Matthias Andree]
* c7a909a 2025-05-21 | Add RRtypes HHIT and BRID to the table. [Simon Kelley]
MFH: 2025Q2
(cherry picked from commit eea38a526daa5a7fbeb3c74aa693f9c2a45b7bc9) |
2.92.t9,6 19 May 2025 20:28:33
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test9
Changes since v2.92test8, by Simon Kelley
- fixes compiler warnings
- Overhaul extract_addresses() function.
The latter approximates to rewriting parts of the cache to make
it more correct and more useful, see this for details:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=e48a2af4f5e4c0fef9e4da9a591f672e725e3436;hp=e48a2af4f5e4c0fef9e4da9a591f672e725e3436
(cherry picked from commit 00c050e66d9026dafac1d5f25b04102e64672c6f) |
2.92.t8,6 15 May 2025 21:05:54
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test8
Upstream's changes since test7 (by Simon Kelley):
* 91b800c 2025-05-14 | CHANGELOG update. (tag: v2.92test8)
* 075e4a5 2025-04-30 | --leasequery can now take a subnet argument.
* 48658eb 2025-04-23 | Add address filtering for leasequery.
* 692ed0d 2025-04-23 | Log source address of leasequeries.
* 43805c1 2025-04-04 | Omit message type from leasequery.c option dump.
* 4fbe1ad 2025-03-20 | Implement RFC-4388 DHCPv4 leasequery.
* 57c7ae8 2025-05-14 | CHANGELOG update.
* d100821 2025-05-14 | Better error message when rejecting a TFTP transfer.
MFH: 2025Q2
(cherry picked from commit 938eaea3526a635ce09bb2226928b29088b97a2e) |
2.92.t7,6 12 May 2025 15:07:56
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test7
Changes since v2.925test5, all by Simon Kelley, newest first:
* b0aa604 2025-05-11 | Tidy-up of TCP-child pipe handling code. (tag:
v2.92test7)
* 8ddabd1 2025-05-09 | DNSSEC validation change for reverse lookups in RFC-1918
ranges and friends.
* 98189ff 2025-05-07 | Fix problems with ipset or nftset and TCP DNS transport.
(tag: v2.92test6)
MFH: 2025Q2
(cherry picked from commit 9ef50e95dc28db43434cdf6930e35df047321218) |
2.92.t5,6 02 May 2025 13:17:59
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test5
Upstream changes since test4, by Simon Kelley:
* e86d53c 2025-04-29 | Fix some edge cases wth domains and
--address and --server.
* e127a97 2025-04-27 | Fix logging booboo.
MFH: 2025Q2
(cherry picked from commit 8ba6b660f926420f128310cdf280f1cabb40a66b) |
2.92.t4,6 23 Apr 2025 21:50:37
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to 2.92test4
Changes since 2.92test3, by Simon Kelley unless stated otherwise:
* a458c2b 2025-04-23 | Tidy up pipe-to-parent code in DNS TCP path. (tag:
v2.92test4)
* 9e67099 2025-04-22 | Tidy up replies to non-QUERY DNS opcodes in auth mode.
* cfa1313 2025-04-20 | Log format error from upstream as 'FORMERR' [Rob Gill]
* e3a2c8d 2025-04-20 | Add --log-queries=auth option.
I had cherry-picked this in FreeBSD's test3 port already:
* 95b74a7 2025-04-18 | Fix copy 'n paste error in DBUS server-statistics code.
MFH: 2025Q2
(cherry picked from commit d14258b1202942707388976971e46d29e29abcdc) |
2.92.t3,6 21 Apr 2025 22:18:55
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test3 + 1 cherry-pick
Changes (newest first) since v2.92test2, by Simon Kelley unless
noted otherwise:
* 95b74a7 2025-04-18 | Fix copy 'n paste error in DBUS server-statistics code.
* ae57f84 2025-04-18 | Do a better job of 942a35f[...] (tag: v2.92test3)
* 0620309 2025-04-16 | Revise negative DNS caching to better comply with
RFC2308.
* 942a35f 2025-04-16 | Silence compiler warnings. [Opty]
MFH: 2025Q2
(cherry picked from commit 1925d2725fe9bfec3ad369a336923b4dfb1f74f8) |
2.92.t2,6 07 Apr 2025 07:33:22
    |
Matthias Andree (mandree)  |
dns/dnsmasq-devel: update to v2.92test2
Changes:
* 83658ef 2025-04-04 | Fix occasional crashes with DNSSEC and large nunbers of
--address configs. [Simon Kelley]
* b0b4d90 2025-03-29 | Multiple typo and spelling fixes. [Paul Donald]
MFH: 2025Q2
(cherry picked from commit 85ac19ae3bb652dcd06c034d084f8a5dcf81a981) |