System administration

Dnsmasq – DNS, DHCP and network boot services

Dnsmasq provides DNS, DHCP and network boot services for small networks. It is designed to run with modest resource requirements, making it suitable for routers, firewalls, wireless access points and other systems that provide network infrastructure.

Its DNS functionality acts primarily as a caching and forwarding resolver. Local clients submit DNS queries to Dnsmasq, which answers using locally configured information or forwards requests to upstream name servers. Frequently requested answers can be cached to reduce repeated lookups.

Dnsmasq also integrates DNS with DHCP, allowing clients that receive network addresses to become accessible by hostname. This is useful for networks where devices regularly join, leave or change addresses. Its DHCP and network boot functions can operate alongside the DNS service, providing a compact alternative to running separate applications for each network function.

This is free and open source software.

Key Features

  • Forward DNS queries to upstream resolvers and cache frequently requested responses.
  • Resolve local hostnames using hosts files, DHCP leases and configured DNS records.
  • Support DNSSEC validation of responses received from upstream servers.
  • Direct specified domains to different upstream DNS servers.
  • Provide limited authoritative DNS service for configured zones.
  • Offer DHCPv4 and DHCPv6 services with static and dynamic address allocation.
  • Associate DHCP clients with hostnames for automatic local DNS resolution.
  • Support BOOTP and PXE network boot services.
  • Include a read-only TFTP server for distributing network boot files.
  • Provide IPv6 router advertisements for host address configuration.
  • Support stateless DHCPv6 and IPv6 DNS configuration options.
  • Allow individual subsystems to be enabled or disabled as required.
  • Cross-platform support – runs on Linux, BSD and macOS.

Website: thekelleys.org.uk/dnsmasq
Support:
Developer: Simon Kelley
License: GNU General Public License v2.0 or GNU General Public License v3.0

Dnsmasq is written in C. Learn C with our recommended free books and free tutorials.


Related Software

DNS Servers
CoreDNSDNS server that chains plugins
BINDFlexible, full-featured DNS system
PowerDNSAuthoritative server, the Recursor, and Dnsdist
NSDNLnet Labs Name Server Daemon
TechnitiumSelf host a DNS server for privacy and security
SmartDNSLocal DNS server that accepts DNS query requests from local clients
UnboundValidating, recursive, caching DNS resolver
HickoryRust-based DNS client, server and resolver
YADIFALightweight authoritative Name Server with DNSSEC capabilities
Knot DNSHigh-performance authoritative-only DNS server
gdnsdAuthoritative-only DNS server
DnsmasqNetwork infrastructure: DNS, DHCP, router advertisement and network boot
acme-dnsSimplified DNS server with a RESTful HTTP API
encrypted-dnsModern encrypted DNS server
MaraDNSSmall DNS server
aardvark-dnsAuthoritative DNS server for A/AAAA container records
FDNSEncrypted DNS proxy designed for small networks and Linux desktops
tinydnsTiny DNS server with simple JSON config
pkdnsDNS server resolving pkarr self-sovereign domains
dproxLightweight DNS proxy server
PopuraDNSSimple DNS server with decentralized domain names support
pdnsdDNS server designed for local caching of DNS information
dnrsDNS server written in rust

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted