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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q2
dnsmasq Lightweight DNS forwarder, DHCP, and TFTP server
2.92rel2,1 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.92rel2,1Version of this port present on the latest quarterly branch.
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-05-11 21:18:03
Last Update: 2026-05-11 21:17:23
Commit Hash: c2ed625
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:
pkg-plist: as obtained via: make generate-plist
Expand this list (24 items)
Collapse this list.
  1. /usr/local/share/licenses/dnsmasq-2.92rel2,1/catalog.mk
  2. /usr/local/share/licenses/dnsmasq-2.92rel2,1/LICENSE
  3. /usr/local/share/licenses/dnsmasq-2.92rel2,1/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.
USE_RC_SUBR (Service Scripts)
  • dnsmasq
Dependency lines:
  • dnsmasq>0:dns/dnsmasq
Conflicts:
CONFLICTS_INSTALL:
  • dnsmasq-devel
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 = 1778529678 SHA256 (dnsmasq-2.92rel2.tar.xz) = 43d72b8c129bdf33d17bafedc98823f63e46b5005128066bf0d2a472a32ce06a SIZE (dnsmasq-2.92rel2.tar.xz) = 638020

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.26 : devel/gettext-runtime
  2. gettext-tools>=0.26 : 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
This port is required by:
for Run
  1. sysutils/sylve

Configuration Options:
===> The following configuration options are available for dnsmasq-2.92rel2,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:
compiler cpe shebangfix tar:xz gettext gmake iconv pkgconfig pkgconfig
FreshPorts was unable to extract/find any pkg message
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://thekelleys.org.uk/dnsmasq/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.92rel2,1
11 May 2026 21:17:23
commit hash: c2ed625a9f7a358a2e55e6518dd45d486d42cb16commit hash: c2ed625a9f7a358a2e55e6518dd45d486d42cb16commit hash: c2ed625a9f7a358a2e55e6518dd45d486d42cb16commit hash: c2ed625a9f7a358a2e55e6518dd45d486d42cb16 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Matthias Andree
dns/dnsmasq: Update 2.92 => 2.92rel2 (6 CVEs)

Including privilege escalation, cache poisoning/rediction, information
leak, and denial of service.

See https://www.kb.cert.org/vuls/id/471747
See https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html

PR:		295204
Security:	eeb4d69a-4d74-11f1-9a9c-994b98c88011
Security:	CVE-2026-2291
Security:	CVE-2026-4890
Security:	CVE-2026-4891
Security:	CVE-2026-4892
Security:	CVE-2026-4893
Security:	CVE-2026-5172
Sponsored by:	UNIS Labs
MFH:		2026Q2

(cherry picked from commit b8a4de5ca6ca9d2607d14894dacc9e24852bac50)

Number of commits found: 1