Rust Rewrite Index

dnsmasq

Small caching DNS proxy and DHCP/TFTP server - system daemon

Rust efforts

Research record · 2026-11-29

Searched dnsmasq DNS/DHCP Rust rewrite, forwarders and related implementations. smartdns-rs describes itself as a dnsmasq-like Rust DNS server, while aardvark-dns is a narrow container DNS service; neither source identifies a direct dnsmasq port or establishes its combined DHCP/TFTP feature parity. No direct rewrite surfaced in the sources reviewed.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust alternative

smartdns-rs

Independent Rust DNS server described as dnsmasq-like; it is not a verified replacement for dnsmasq’s combined DNS and DHCP/TFTP functions.

Evidence checked 2026-11-29
Rust alternative

aardvark-dns

Rust DNS server for container records and forwarding, a narrower related service rather than a dnsmasq port.

Evidence checked 2026-11-29

Project structure

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 for network booting of diskless machines.

Inside the source tree

  • contrib/ · 56 indexed files
  • src/ · 50 indexed files
  • po/ · 11 indexed files
  • bld/ · 6 indexed files
  • logo/ · 4 indexed files

Source files by extension in this snapshot · C (45), Python (1)

Selected components packaged from this source in Debian 13.

  • dnsmasq · Small caching DNS proxy and DHCP/TFTP server - system daemon
  • dnsmasq-base · Small caching DNS proxy and DHCP/TFTP server - executable
  • dnsmasq-utils · Utilities for manipulating DHCP leases
  • dnsmasq-base-lua · Small caching DNS proxy and DHCP/TFTP server - executable, Lua-enabled