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
Port details on branch 2025Q4
dnsmasq Lightweight DNS forwarder, DHCP, and TFTP server
2.91_2,1 dns on this many watch lists=32 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.91_2,1Version of this port present on the latest quarterly branch.
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-09-05 04:55:22
Last Update: 2025-09-16 17:23:43
Commit Hash: a2ed083
People watching this port, also watch:: sudo, wget, rsync, curl, libiconv
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

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.91_2,1/catalog.mk
  2. /usr/local/share/licenses/dnsmasq-2.91_2,1/LICENSE
  3. /usr/local/share/licenses/dnsmasq-2.91_2,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 = 1742506571 SHA256 (dnsmasq-2.91.tar.xz) = f622682848b33677adb2b6ad08264618a2ae0a01da486a93fd8cd91186b3d153 SIZE (dnsmasq-2.91.tar.xz) = 576820

Packages (timestamps in pop-ups are UTC):
dnsmasq
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.91_2,12.91_2,12.83,12.91_2,12.91_2,1n/an/an/a
FreeBSD:13:quarterly2.91_2,12.91_2,12.89_1,12.91_1,12.91_2,1n/an/an/a
FreeBSD:14:latest2.91_2,12.91_2,12.88,12.91_1,12.91_2,12.89_1,1-2.89_1,1
FreeBSD:14:quarterly2.91_2,12.91_2,1-2.91_1,12.91_2,12.89_1,12.89_1,12.90,1
FreeBSD:15:latest2.91_2,12.91_2,1n/a2.91_1,1n/an/a2.89_1,12.90,1
FreeBSD:15:quarterly2.91_2,12.91_2,1n/a-n/an/a--
FreeBSD:16:latest2.91_2,12.91_2,1n/a-n/an/a--
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
This port is required by:
for Build
  1. devel/libvirt
for Run
  1. devel/libvirt

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:
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/
Collapse this list.

There are no commits on branch 2025Q4 for this port