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

Diego: I replied to your email, it bounced. Please email me again from a different address.

Port details on branch 2025Q1
dnsmasq-devel Lightweight DNS forwarder, DHCP, and TFTP server
2.91.t10,5 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.91.t10,5Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Short-lived test branch, to be removed after v2.91 release
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-01-14 21:42:04
Last Update: 2025-02-01 09:58:39
Commit Hash: c9a9693
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.91.t10,5/catalog.mk
  2. /usr/local/share/licenses/dnsmasq-devel-2.91.t10,5/LICENSE
  3. /usr/local/share/licenses/dnsmasq-devel-2.91.t10,5/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 = 1738403531 SHA256 (dnsmasq-2.91test10.tar.xz) = c691d2b3e9c1c04f86ff945c20e70a9cd4f6149ee3b0964105f3c499cdbf3f0f SIZE (dnsmasq-2.91test10.tar.xz) = 573292

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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.91.t10,5: 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 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: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.91.t10,5
01 Feb 2025 09:58:39
commit hash: c9a96931e26821a8a215e6c9d290dda33b8c0819commit hash: c9a96931e26821a8a215e6c9d290dda33b8c0819commit hash: c9a96931e26821a8a215e6c9d290dda33b8c0819commit hash: c9a96931e26821a8a215e6c9d290dda33b8c0819 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
dns/dnsmasq-devel: update to v2.91test10

Git history:

* efb8f10 2025-01-23 | Fix potential memory leak [Brian Haley]
* 6dbdf16 2025-01-24 | Move debian submodule to submodules/dnsmasq-debian.
[Simon Kelley]
* 6e6a45a 2025-01-23 | Bump copyrights to 2025. [Simon Kelley]

MFH:		2025Q1
(cherry picked from commit bbee93d4beba19ab9767f3cfe0948df039aabb7f)
2.91.t9,5
31 Jan 2025 21:12:14
commit hash: c6d6c09132f6b2a87f945cc3a80fd5d3de9ad7a7commit hash: c6d6c09132f6b2a87f945cc3a80fd5d3de9ad7a7commit hash: c6d6c09132f6b2a87f945cc3a80fd5d3de9ad7a7commit hash: c6d6c09132f6b2a87f945cc3a80fd5d3de9ad7a7 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
dns/dnsmasq-devel:  update to v2.91test9

Upstream commit history, all changes by Simon Kelley:

* a4569c2 2025-01-20 | Correct BNF for --trust-anchor in manpage.
* 199e65c 2025-01-20 | Remove misleading comment.
* bb8811d 2025-01-20 | Convert DNS names in logs to all lower case.
* 995a16c 2025-01-19 | Implement "DNS-0x20 encoding".
* 65f9c1a 2025-01-19 | Case-sensitive matching of questions and answers.

Upstream CHANGELOG addition:

| Implement "DNS-0x20 encoding", for extra protection against
| reply-spoof attacks. Since DNS queries are case-insensitive, it's
| possible to randomly flip the case of letters in a query and still get
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.91.t8,5
21 Jan 2025 20:21:17
commit hash: 085f80e9c31ed838d3485713d50fb7a687c39e4fcommit hash: 085f80e9c31ed838d3485713d50fb7a687c39e4fcommit hash: 085f80e9c31ed838d3485713d50fb7a687c39e4fcommit hash: 085f80e9c31ed838d3485713d50fb7a687c39e4f files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
dns/dnsmasq-devel: update to v2.91test8

Upstream CHANGELOG file addition:

| Handle DS queries to auth zones. When dnsmasq is configured to act as
| an authoritative server and has an authoritative zone configured, and
| recieves a query for that zone _as_forwarder_ it answers the query
| directly rather than forwarding it. This doesn't affect the answer, but
| it saves dnsmasq forwarding the query to the recusor upstream, whch then
| bounces it back to dnsmasq in auth mode. The exception should be when
| the query is for the root of zone, for a DS RR. The answer to that has
| to come from the parent, via the recursor, and will typically be a
| proof-of-nonexistence since dnsmasq doesn't support signed zones. This
| patch suppresses local answers and forces forwarding to the upstream
| recursor for such queries. It stops breakage when a DNSSEC validating
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.91.t7,5
14 Jan 2025 21:36:18
commit hash: 0f9874c5844e7ed005de40e38a3ad19ce2b13fb8commit hash: 0f9874c5844e7ed005de40e38a3ad19ce2b13fb8commit hash: 0f9874c5844e7ed005de40e38a3ad19ce2b13fb8commit hash: 0f9874c5844e7ed005de40e38a3ad19ce2b13fb8 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
dns/dnsmasq-devel: update to v2.91test7

The local patch got merged upstream and was removed.
This is the changelog since test6:

* da58455 2025-01-13 | Tweak 7d915a0bb94260073ec7aa4dd00b787f3ea4b9e8 (tag:
v2.91test7)
* b915c9a 2025-01-13 | Attempt to keep running if a child process dies.
* 424aaa0 2025-01-13 | Fix another 509afcd1d2f9edbd1e11c9abd0f335f02baa7fc4
SNAFU
* c72c895 2025-01-12 | Improve "no upstream servers configured" when D-Bus is
enabled [Andrew Sayers]
* b715611 2025-01-12 | Fix SNAFU in 509afcd1d2f9edbd1e11c9abd0f335f02baa7fc4
* 7d915a0 2025-01-12 | Don't do retries over UDP when we've sent the query by
TCP.
* 509afcd 2025-01-12 | Refactor poll() loop.
* 51343bd 2025-01-12 | Treat replies with CD flag set the same for UDP and TCP
code paths.
* b58276a 2025-01-12 | Return EDE OTHER error when DNSSEC validation abandoned.
* f162d34 2024-12-29 | cache: Fix potential NULL deref in arcane situations.
[Matthias Andree]

(cherry picked from commit 44de445d96ac7096fb803c1bba9019c23cc24990)
2.91.t6,5
14 Jan 2025 21:36:18
commit hash: a47df65866257e12c1e5f144a8766010329ceac5commit hash: a47df65866257e12c1e5f144a8766010329ceac5commit hash: a47df65866257e12c1e5f144a8766010329ceac5commit hash: a47df65866257e12c1e5f144a8766010329ceac5 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
dns/dnsmasq-devel: update to 2.91test6.

Also include one potential cache.c NULL deref which I have
submitted upstream.

Upstream Git log:

* 0003db1 2025-01-07 | Fix crash introduced in
6656790f2498f2a0b21086bc4ab47a2e38429a7c (tag: v2.91test6)
* 275f4a4 2025-01-07 | Remove arbitrary workspace size limit. (tag: v2.91test5)
* 12e4565 2025-01-06 | Improve "chown of PID file failed" message for missing
CAP_CHOWN [Andrew Sayers]
* 7af26ee 2025-01-07 | Fix manpage typo. [Andrew Sayers]
* 63dc6eb 2025-01-07 | Fix read_write() changes for TCP timeout.
* 6656790 2025-01-07 | Handle queries with EDNS client subnet fields better.
* c8de423 2025-01-07 | Fix finger-trouble in immediately previous commit.
* c52653f 2025-01-06 | Correctly handle failure of pipe() call in swap_to_tcp()
* e24c341 2025-01-01 | Fix wrong packet size when dumpong packets to file.

(cherry picked from commit c822c10442a488fe79326e2095236b94ea1e4a22)

Number of commits found: 5