System administration

Dnsmasq – provides network infrastructure for small networks

Dnsmasq provides network infrastructure for small networks: DNS, DHCP, router advertisement and network boot.

It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls.

The DNS subsystem provides a local DNS server for the network, with forwarding of all query types to upstream recursive DNS servers and caching of common record types (A, AAAA, CNAME and PTR, also DNSKEY and DS when DNSSEC is enabled).

This is free and open source software.

Key Features

  • Local DNS names can be defined by reading /etc/hosts, by importing names from the DHCP subsystem, or by configuration of a wide range of useful record types.
  • Upstream servers can be configured in a variety of convenient ways, including dynamic configuration as these change on moving upstream network.
  • Authoritative DNS mode allows local DNS names may be exported to zone in the global DNS. Dnsmasq acts as authoritative server for this zone, and also provides zone transfer to secondaries for the zone, if required.
  • DNSSEC validation may be performed on DNS replies from upstream nameservers, providing security against spoofing and cache poisoning.
  • Specified sub-domains can be directed to their own upstream DNS servers, making VPN configuration easy.
  • Internationalised domain names are supported.

Website: thekelleys.org.uk/dnsmasq
Support:
Developer: Simon Kelley
License: GNU General Public License v2.0 or 3.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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments