Illustrated title card for the guide: Authoritative Local DNS: Technitium, Pi-hole & AdGuard Home
local-dns

Authoritative Local DNS: Technitium, Pi-hole & AdGuard Home

Compare Technitium, Pi-hole, and AdGuard Home for local DNS. Set up a primary zone or a host mapping, forward the zone, and verify it with dig.

Choose Technitium DNS Server when your homelab needs an authoritative zone you can manage and transfer to a secondary server. For a few local names, use Pi-hole host records or AdGuard Home DNS rewrites. To keep your existing filter and manage a zone, forward queries for that zone to Technitium. Technitium zones · Pi-hole FTL settings · AdGuard Home configuration

Choose between local records and a zone

A host mapping tells your resolver which address to return for a name. A primary zone gives you a collection of records to manage under one DNS name, with its own Start of Authority (SOA) and name server (NS) records. Pi-hole host settings · Technitium zone guide

If you needUseWhere the records live
A managed zone with SOA and NS records, or a zone that can transfer to a secondaryTechnitium Primary ZoneEdit records in the primary zone. A secondary zone can receive a copy by zone transfer when the primary permits it. Technitium help · Technitium console
A few hostnames on an existing Pi-holePi-hole dns.hostsKeep the IP-to-name entries in Pi-hole. The separate dns.cnameRecords setting handles aliases. Pi-hole FTL reference
A few hostnames on an existing AdGuard Home serverAdGuard Home DNS rewritesKeep the domain and its answer in a rewrite. A legacy DNS rewrite accepts an IP address or a CNAME target as the answer. AdGuard Home configuration
An existing filter and a dedicated zonePi-hole or AdGuard Home in front of TechnitiumKeep the zone records in Technitium and add a domain-specific upstream on the filter. dnsmasq manual · AdGuard Home upstreams

Pi-hole FTL v6.9 embeds dnsmasq. Dnsmasq has a separate authoritative mode configured with auth-server and auth-zone. Technitium provides primary and secondary zones in its console. Pi-hole FTL release notes · dnsmasq manual · Technitium help

Set up the same hostname three ways

The examples use nas.lab.home.arpa for a service at 192.168.50.20. In the forwarding example, Technitium has its own address, 192.168.50.53. Substitute your own names and LAN addresses. Start with the DNS server already installed.

Technitium DNS Server

  1. In the web console, open Zones → Add Zone. Enter lab.home.arpa in Zone, select Primary Zone for Type, and click Add. Technitium console
  2. Open the new zone and select Add Record. Enter nas in Name, choose A in Type, and enter 192.168.50.20 in IPv4 Address. Click Save. Technitium console · Record editor
  3. Confirm that the zone contains an SOA record, an NS record, and the new A record. The initial SOA and NS are created with the primary zone. Technitium zone guide

Pi-hole

On the Pi-hole host, set dns.hosts with an IP followed by the full hostname. The command sets the entire array, so include any existing entries when adding yours. Pi-hole FTL reference

sudo pihole-FTL --config dns.hosts '["192.168.50.20 nas.lab.home.arpa"]'

AdGuard Home

In AdGuard Home v1.0, open DNS rewrites in the filters section and add an entry with nas.lab.home.arpa as the domain and 192.168.50.20 as the answer. AdGuard Home v1.0 release notes · AdGuard Home configuration

Forward the zone from an existing filter

Leave clients pointed at their existing Pi-hole or AdGuard Home server. For the forwarding example, remove any host entry or rewrite for the same name from the filter. dnsmasq manual · AdGuard Home configuration

Pi-hole. Add the following server= line to the misc.dnsmasq_lines array. The domain between the slashes scopes the forwarding rule to lab.home.arpa and its subdomains. Pi-hole FTL reference · dnsmasq manual

Malformed directives or directives that conflict with Pi-hole’s generated configuration can stop DNS resolution. Back up the Pi-hole configuration under Settings → Teleporter first and retain any existing entries in the array. Pi-hole FTL reference · Pi-hole backup instructions

sudo pihole-FTL --config misc.dnsmasq_lines '["server=/lab.home.arpa/192.168.50.53"]'

AdGuard Home. In Settings → DNS settings, append this entry to Upstream DNS servers and keep the regular upstream entries for other names. AdGuard Home upstreams

[/lab.home.arpa/]192.168.50.53

Verify authority and client resolution

For the zone setup, query Technitium directly. The +norecurse option clears the recursion-desired flag in the query. Look for aa in the response flags, an SOA record at lab.home.arpa, and an A record of 192.168.50.20 for the host. BIND dig manual · BIND query path guide

dig @192.168.50.53 lab.home.arpa. SOA +norecurse
dig @192.168.50.53 nas.lab.home.arpa. A +norecurse

To check what clients can resolve, use a LAN client configured to query your chosen DNS service. Run the lookup without @ and check that the answer contains 192.168.50.20. If it fails, repeat with @ followed by the client-facing DNS server IP to check that server directly. BIND dig manual

dig nas.lab.home.arpa. A

Evidence and limits. The Technitium v15.6.2 console, BIND 9.20.31 manuals, Pi-hole FTL configuration reference and v6.9 release notes, and AdGuard Home configuration wiki and v1.0 release notes were checked on November 26, 2026. The example configurations and commands were not run for this article.

Sources

  1. Technitium DNS Server helptechnitium.com
  2. Technitium guide to hosting a DNS zoneblog.technitium.com
  3. Technitium v15.6.2 zone console markupraw.githubusercontent.com
  4. Technitium v15.6.2 record editorraw.githubusercontent.com
  5. Pi-hole FTL configuration referencedocs.pi-hole.net
  6. Pi-hole FTL configuration: custom dnsmasq linesdocs.pi-hole.net
  7. Pi-hole FTL configuration: custom hostsdocs.pi-hole.net
  8. Pi-hole FTL v6.9 release notespi-hole.net
  9. dnsmasq manualthekelleys.org.uk
  10. AdGuard Home configuration wikigithub.com
  11. AdGuard Home configuration: upstreams for domainsgithub.com
  12. AdGuard Home v1.0 release notesadguard.com
  13. BIND 9.20.31 dig manualbind9.readthedocs.io
  14. BIND 9.20.31 DNSSEC guidebind9.readthedocs.io

Related