Overview
dnsmasq is a small piece of network software that gives a home or small office network its basic services in one program: DNS, DHCP, IPv6 router advertisement and network boot. It is designed to use little memory and disk space, which is why it turns up in routers, firewalls, phone tethering and hotspot features, and virtual machine networking.
As a DNS server it forwards queries to upstream servers and caches the answers, and it can answer for local machine names taken from the hosts file or from DHCP leases, so devices on the network can find each other by name. It can validate DNSSEC, send particular domains to particular upstream servers (useful with VPNs) and act as an authoritative server. The DHCP side handles DHCPv4, DHCPv6, BOOTP and PXE, with static and dynamic leases, and there is a built-in read-only TFTP server for network booting.
It is written and maintained mainly by Simon Kelley and released under the GPL, version 2 or 3. It is configured with a text file and command-line options rather than a graphical interface, so it suits people comfortable editing configuration files. Most Linux distributions package it, and it is in the FreeBSD, OpenBSD and NetBSD ports systems.
Categories
Features
- Forwarding and caching DNS server
- Local names resolved from the hosts file and DHCP leases
- DNSSEC validation
- Per-domain upstream servers, useful for VPNs
- DHCPv4, DHCPv6, BOOTP and PXE with static and dynamic leases
- IPv6 router advertisement, alone or with DHCPv6
- Built-in read-only TFTP server for network boot
- Unused features can be left out at compile time to keep it small
Privacy
dnsmasq runs on your own machine or router and has no accounts. DNS queries it cannot answer locally are forwarded to whichever upstream servers you configure.
Pros & Cons
Pros
- DNS, DHCP and network boot in one small program
- Light enough for routers and other low-powered devices
- Open source under the GPL
- Packaged by most Linux distributions and the main BSD ports systems
Cons
- No graphical interface; set up through a configuration file
- Aimed at small networks, not large-scale DNS hosting
- No official Windows version is listed
- Support is through a mailing list
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
DHCP · ISC Kea DHCP
Runs a DHCP server for assigning network addresses.
Open Source No Signup Linux macOS -
Manages IP addresses and DHCP scopes.
Open Source No Signup Linux API -
Documents network infrastructure: racks, devices, cabling, IP addresses, prefixes and VLANs.
Open Source No Signup Web API