All projects

Networking

Digger

A GNOME DNS workbench for comparing resolvers, examining DNSSEC and tracing inconsistent answers.

Category
Networking
Release status
Released
Stack
Vala · GTK4 · Libadwaita · BIND
  1. 01GTK query form
  2. 02Vala query service
  3. 03BIND dig subprocess
  4. 04Resolver answers and flags
Digger component flow, simplified.

Overview

Digger is a Vala and GTK4 application for querying DNS and comparing resolver behavior. Thiago maintains the public project.

Problem and motivation

Split DNS, cached answers and resolver-specific settings can make a lookup behave differently across networks. Digger puts the answers, resolver address and response flags side by side so the user can see what changed.

Technical constraints

A resolver can be specified by hostname, IPv4 or IPv6 address, with a non-default port. Queries can time out independently. A GUI must keep input responsive while lookups are running and represent incomplete results.

Architecture

Libadwaita views and dialogs call Vala services for lookups, propagation checks and related diagnostics. The core query service runs BIND’s dig asynchronously and parses the response into record and result models consumed by the interface.

Implementation decisions

Resolver comparisons fan out in parallel with cancellation. Reports show the responding server alongside flags such as AD, AA and TC. DNSSEC tools surface validation and chain information, while a dedicated IPv6 view checks reachability and AAAA resolution.

Engineering challenges

Human-readable resolver output still has to be parsed carefully. The 2.10.0 release notes describe fixes for quoted TXT whitespace and preserving system-default resolver semantics when copying a command. Propagation here means a comparison of selected resolver views at query time.

Trade-offs and alternatives

Wrapping an established utility avoids implementing the DNS client again and gives users a reproducible CLI command. It adds subprocess and parser failure modes, and packaging must make the utility available consistently.

For example, this equivalent command requests DNSSEC data and an AAAA answer. The output’s flags and responding server are useful when comparing the same query across resolver configurations.

dig +dnssec example.org AAAA

Testing and validation

Meson registers tests for DNS query behavior, comparisons, IPv6, record validation and query templates. These cover the parsing and input rules that can regress independently of the desktop interface.

Current status

The public 2.10.0 release documents custom resolver comparisons and DNS engine fixes. Digger is listed on Flathub and in Fedora Packages. The upstream README also documents Debian and Ubuntu installation paths.

Lessons learned

A DNS diagnostic needs to preserve context as well as records. A timestamped answer from one resolver becomes much more useful when the resolver, flags and equivalent query are available together.

Source and further reading

Query service · Features and installation · GPL license

Digger showing a DNS lookup and its structured result table
Digger interface.Original project screenshot