Port details on branch 2025Q3 |
- dnsmasq Lightweight DNS forwarder, DHCP, and TFTP server
- 2.91_2,1 dns
=0 2.91_2,1Version of this port present on the latest quarterly branch. - Maintainer: mandree@FreeBSD.org
 - Port Added: 2025-09-16 09:57:07
- Last Update: 2025-09-16 17:24:45
- Commit Hash: aea71ee
- 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:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- 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 = 1742506571
SHA256 (dnsmasq-2.91.tar.xz) = f622682848b33677adb2b6ad08264618a2ae0a01da486a93fd8cd91186b3d153
SIZE (dnsmasq-2.91.tar.xz) = 576820
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-2.91_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:
- compiler cpe shebangfix tar:xz gettext gmake iconv pkgconfig pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.91_2,1 16 Sep 2025 17:24:45
    |
Matthias Andree (mandree)  |
dns/dnsmasq*: don't force -O2 into CFLAGS
Reported by: diizzy@
MFH: 2025Q3
(cherry picked from commit a2ed083c8a7d265ad4ffc2acbbc12eb22e19b6a9) |
2.91_2,1 16 Sep 2025 09:54:36
    |
Matthias Andree (mandree)  |
dns/dnsmasq: harden build
MFH: 2025Q3
(cherry picked from commit 421cd1ecf286ff832c18d9c77e220fdad6f8bfb7) |