notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q2
dnsmasq-devel Lightweight DNS forwarder, DHCP, and TFTP server
2.92.t14,6 dns on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.92.t14,6Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Short-lived test branch, to be removed after v2.92 release
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (24 items)
Collapse this list.
  1. /usr/local/share/licenses/dnsmasq-devel-2.92.t14,6/catalog.mk
  2. /usr/local/share/licenses/dnsmasq-devel-2.92.t14,6/LICENSE
  3. /usr/local/share/licenses/dnsmasq-devel-2.92.t14,6/GPLv2
  4. sbin/dnsmasq
  5. @sample etc/dnsmasq.conf.sample
  6. share/dnsmasq/trust-anchors.conf
  7. share/examples/dnsmasq/dnslist/dhcp.css
  8. share/examples/dnsmasq/dnslist/dnslist.pl
  9. share/examples/dnsmasq/dnslist/dnslist.tt2
  10. share/examples/dnsmasq/dynamic-dnsmasq/dynamic-dnsmasq.pl
  11. share/locale/de/LC_MESSAGES/dnsmasq.mo
  12. share/locale/es/LC_MESSAGES/dnsmasq.mo
  13. share/locale/fi/LC_MESSAGES/dnsmasq.mo
  14. share/locale/fr/LC_MESSAGES/dnsmasq.mo
  15. share/locale/id/LC_MESSAGES/dnsmasq.mo
  16. share/locale/it/LC_MESSAGES/dnsmasq.mo
  17. share/locale/no/LC_MESSAGES/dnsmasq.mo
  18. share/locale/pl/LC_MESSAGES/dnsmasq.mo
  19. share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo
  20. share/locale/ro/LC_MESSAGES/dnsmasq.mo
  21. share/man/man8/dnsmasq.8.gz
  22. @owner
  23. @group
  24. @mode
Collapse this list.
Dependency lines:
  • dnsmasq-devel>0:dns/dnsmasq-devel
Conflicts:
CONFLICTS_INSTALL:
  • dnsmasq-2*
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):
dnsmasq-devel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.92.t13,62.92.t13,6-2.92.t13,62.92.t14,6---
FreeBSD:13:quarterly2.92.t10,62.92.t14,6-2.92.t10,62.92.t14,6---
FreeBSD:14:latest2.92.t7,62.92.t14,6-2.92.t7,62.92.t14,6---
FreeBSD:14:quarterly2.92.t13,62.92.t14,6-2.92.t13,62.92.t14,6---
FreeBSD:15:latest2.92.t5,62.92.t13,6n/a2.92.t5,6n/a2.90.t3,52.90.t3,5-
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gettext-runtime>=0.22_1 : devel/gettext-runtime
  2. msgfmt : devel/gettext-tools
  3. gmake>=4.4.1 : devel/gmake
  4. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libidn2.so : dns/libidn2
  2. libgmp.so : math/gmp
  3. libnettle.so : security/nettle
  4. 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:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/mandree/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/mandree/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/mandree/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/mandree/
  5. https://www.thekelleys.org.uk/dnsmasq/test-releases/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.92.t14,6
23 Jun 2025 22:20:53
commit hash: 9f722a6592bb23ae549b92d44d1e702f5dfcc4b6commit hash: 9f722a6592bb23ae549b92d44d1e702f5dfcc4b6commit hash: 9f722a6592bb23ae549b92d44d1e702f5dfcc4b6commit hash: 9f722a6592bb23ae549b92d44d1e702f5dfcc4b6 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 1c7335a390e0347a4c0ed751afcd21a8cd54b4d8commit hash: 1c7335a390e0347a4c0ed751afcd21a8cd54b4d8commit hash: 1c7335a390e0347a4c0ed751afcd21a8cd54b4d8commit hash: 1c7335a390e0347a4c0ed751afcd21a8cd54b4d8 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: b2669d14de925e0fea95d4840c94790bc20531b9commit hash: b2669d14de925e0fea95d4840c94790bc20531b9commit hash: b2669d14de925e0fea95d4840c94790bc20531b9commit hash: b2669d14de925e0fea95d4840c94790bc20531b9 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 27475717cab4becc7b421d2fbeb8cc8c24a84c4ccommit hash: 27475717cab4becc7b421d2fbeb8cc8c24a84c4ccommit hash: 27475717cab4becc7b421d2fbeb8cc8c24a84c4ccommit hash: 27475717cab4becc7b421d2fbeb8cc8c24a84c4c files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: cecc8a8d56247ede4c14ee97f1ecb29ab4d83060commit hash: cecc8a8d56247ede4c14ee97f1ecb29ab4d83060commit hash: cecc8a8d56247ede4c14ee97f1ecb29ab4d83060commit hash: cecc8a8d56247ede4c14ee97f1ecb29ab4d83060 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 5bfe00a5dd1bec2a99ab9c5f1fc82d7dab42fe9ecommit hash: 5bfe00a5dd1bec2a99ab9c5f1fc82d7dab42fe9ecommit hash: 5bfe00a5dd1bec2a99ab9c5f1fc82d7dab42fe9ecommit hash: 5bfe00a5dd1bec2a99ab9c5f1fc82d7dab42fe9e files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 7152977f08b1ec75f0675411234c5812aa9acef3commit hash: 7152977f08b1ec75f0675411234c5812aa9acef3commit hash: 7152977f08b1ec75f0675411234c5812aa9acef3commit hash: 7152977f08b1ec75f0675411234c5812aa9acef3 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 62cfc091fbd2b7d4d26fc8d12c06890b5b479aaacommit hash: 62cfc091fbd2b7d4d26fc8d12c06890b5b479aaacommit hash: 62cfc091fbd2b7d4d26fc8d12c06890b5b479aaacommit hash: 62cfc091fbd2b7d4d26fc8d12c06890b5b479aaa files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: ed019ce7f3ec9ed74016ef1595b59a31619f869dcommit hash: ed019ce7f3ec9ed74016ef1595b59a31619f869dcommit hash: ed019ce7f3ec9ed74016ef1595b59a31619f869dcommit hash: ed019ce7f3ec9ed74016ef1595b59a31619f869d files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: 0c0081e27ec07a3c129ff0e8c2e6612d7e9ffaf2commit hash: 0c0081e27ec07a3c129ff0e8c2e6612d7e9ffaf2commit hash: 0c0081e27ec07a3c129ff0e8c2e6612d7e9ffaf2commit hash: 0c0081e27ec07a3c129ff0e8c2e6612d7e9ffaf2 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: ef94302f467828fc0cb1326961b68256febb02c7commit hash: ef94302f467828fc0cb1326961b68256febb02c7commit hash: ef94302f467828fc0cb1326961b68256febb02c7commit hash: ef94302f467828fc0cb1326961b68256febb02c7 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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
commit hash: d325d1f779bb572120eddd2fe7b82f92e061a62fcommit hash: d325d1f779bb572120eddd2fe7b82f92e061a62fcommit hash: d325d1f779bb572120eddd2fe7b82f92e061a62fcommit hash: d325d1f779bb572120eddd2fe7b82f92e061a62f files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
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)

Number of commits found: 12