BSD Ports

dns/dnsmasq 2.92,1 MidnightBSD

Lightweight DNS forwarder, DHCP, and TFTP server

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2
Categories
dns

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

In the other systems

The newest version among them is 2.93, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdns/dnsmasq2.92,1no data-[email protected]-
FreeBSDdns/dnsmasq2.93,1 newestnone known-[email protected]-
OpenBSDnet/dnsmasq by name2.93 newestno data-Brad Smith <[email protected]>-
NetBSDnet/dnsmasq by name2.93 newest9 known-[email protected]-
DragonFlydns/dnsmasq2.91_1,11 known-[email protected]-
HardenedBSDdns/dnsmasq2.93,1 newestno data-[email protected]-
GhostBSDdns/dnsmasq2.93,1 newestno data-[email protected]-
OPNsenseopnsense/dnsmasq by name2.93,1 newestnone known-[email protected]-

Compare across BSDs

Install

Binary package:

mport install dnsmasq

From mports:

cd /usr/mports/dns/dnsmasq && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	dnsmasq>0:dns/dnsmasq

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 1

Configuration

Options name: dns_dnsmasq

OptionDefaultDescription
DBUSoff
DNSSEConEnable DNSSEC caching and validation (needs nettle)
DOCSoff
IDNoffIDN: Int'l Domain Names WITHOUT full NLS
IPSETonDynamic firewall management of resolved names (needs PF)
IPV6off
LUAoffSupport lease-change scripts written in Lua
NLSoffIDN+NLS: Int'l Domain Names & National Language support
USES
cpe shebangfix tar:xz
Service scripts
dnsmasq
Conflicts with
dnsmasq-devel

Files

Manual pages 1
  • dnsmasq(8)
pkg-plist 18
  • sbin/dnsmasq
  • @sample etc/dnsmasq.conf.sample
  • share/dnsmasq/trust-anchors.conf
  • share/examples/dnsmasq/dnslist/dhcp.css
  • share/examples/dnsmasq/dnslist/dnslist.pl
  • share/examples/dnsmasq/dnslist/dnslist.tt2
  • share/examples/dnsmasq/dynamic-dnsmasq/dynamic-dnsmasq.pl
  • share/locale/de/LC_MESSAGES/dnsmasq.mo
  • share/locale/es/LC_MESSAGES/dnsmasq.mo
  • share/locale/fi/LC_MESSAGES/dnsmasq.mo
  • share/locale/fr/LC_MESSAGES/dnsmasq.mo
  • share/locale/id/LC_MESSAGES/dnsmasq.mo
  • share/locale/it/LC_MESSAGES/dnsmasq.mo
  • share/locale/no/LC_MESSAGES/dnsmasq.mo
  • share/locale/pl/LC_MESSAGES/dnsmasq.mo
  • share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo
  • share/locale/ro/LC_MESSAGES/dnsmasq.mo
  • share/man/man8/dnsmasq.8.gz
distinfo 1
FileSizeSHA256
dnsmasq-2.92.tar.xz6377524bf50c2c1018f9fbc26037df51b90ecea0cb73d46162846763b92df0d6c3a458
Master sites 2
  • https://www.thekelleys.org.uk/dnsmasq/
  • FREEBSD_LOCAL/mandree/