BSD Ports

Vulnerable: version 2.91_1,1 is affected by 1 known vulnerability. See below.

dns/dnsmasq 2.91_1,1 DragonFly

Lightweight DNS forwarder, DHCP, and TFTP server

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
dns
Package size
375.2 KiB, 1016.9 KiB installed

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

SystemPortVersion
DragonFlydns/dnsmasq2.91_1,1
FreeBSDdns/dnsmasq2.93,1
OpenBSDnet/dnsmasq2.93
NetBSDnet/dnsmasq2.93
MidnightBSDdns/dnsmasq2.92,1
HardenedBSDdns/dnsmasq2.93,1
GhostBSDdns/dnsmasq2.93,1
OPNsenseopnsense/dnsmasq2.93,1

Install

Binary package:

pkg install dnsmasq

From DPorts:

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

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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


NOTE: when using dnssec, inaccurate system clocks
can cause DNS resolution to fail
because DNSSEC signatures may then not validate.


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.

Known vulnerabilities 1