Guide

Encrypted DNS and upstreams

Pick the servers TelltaleDNS asks, keep those lookups private on the way out, and let your phones and laptops reach TelltaleDNS over an encrypted connection too.

Words used here: an upstream is a server TelltaleDNS asks when it doesn't have the answer. An upstream group is a named set of upstreams with a strategy. Queries that match no route use the group named default.

Choose your upstreams

Start from a preset instead of looking up addresses. The catalog covers every Pi-hole preset plus the common encrypted resolvers, and a nightly job checks that every entry still answers.

telltale presets list                                   # Cloudflare, Google, Quad9, AdGuard, Mullvad, Control D, NextDNS, AliDNS, DNSPod, ...
telltale presets show quad9 --proto tls,https --group default >> telltale.toml
telltale presets show nextdns --param profile=abc123    # templated presets need your account ID

show prints explicit [[upstream]] entries plus a fastest group. Your config always lists exactly what's used and never depends on the catalog.

alidns (AliDNS, Alibaba Cloud) and dnspod (DNSPod Public DNS, Tencent) are free public recursive services. No filtering is documented for either, and the FILTERS column of presets list reads none. alidns lists the plain DNS addresses its provider documents for the free service, IPv4 and IPv6, and no encrypted endpoint: queries sent to it are not encrypted, and telltale presets show alidns --proto tls,https ends with the error no usable endpoints for the chosen options instead of printing plain DNS entries. dnspod adds DNS over TLS (dot.pub) and DNS over HTTPS (doh.pub), and its documentation places its first-level cache nodes in mainland China. telltale presets show dnspod without --proto puts the plain UDP addresses in the group next to those two; --proto tls,https gives only the two encrypted endpoints. Both are free services with limits and no availability commitment: AliDNS limits concurrent requests per source address and per resolver node, and DNSPod limits a single domain to 20 queries per second. A busy network can meet those limits, so give the group a second provider (strategy = "fastest" or "failover"). The DNSSEC and ECS columns of presets list follow what each provider documents: AliDNS states neither, DNSPod states ECS only.

A group's strategy decides which members a query goes to:

  • failover: the first healthy member, in the order of members.
  • round_robin: each healthy member in turn.
  • weighted: in turn, in proportion to each upstream's weight.
  • fastest: the healthy member with the lowest recent response time, plus another one for 5% of queries so its time stays current.
  • parallel: the parallel_fanout healthy members with the lowest response time at once (2 by default; between 2 and the number of members), and the first good answer wins. The rest start later, like hedges, after about 3× the last started member's usual time (100 ms for a member that hasn't been measured yet, and never more than its attempt timeout), or as soon as an attempt fails. To ask every member at once, set parallel_fanout to the number of members.

Web UI

  1. Open the Upstreams page. It holds both servers and upstream groups.
  2. Add or edit an entry. Simple view shows the common fields; switch to Advanced for timeouts and TLS names.
  3. Test it asks the draft upstream for the root's NS records from this node, and shows the answer and the time, or the error (a bad URL, a TLS name that doesn't match, a timeout).
  4. Check shows what the change will do and any warnings, such as a group that would lose its last member. Nothing is saved until Apply.

The Manage table at the bottom says where each entry comes from: the config file, added here, or an override. See Web UI on a config file.

Config file

[[upstream]]
name = "cloudflare"
url = "udp://1.1.1.1"

[[upstream]]
name = "quad9"
url = "udp://9.9.9.9"

[[upstream_group]]
name = "default"          # queries that match no route use this group
members = ["cloudflare", "quad9"]
strategy = "fastest"      # failover | round_robin | weighted | fastest | parallel

Check it with telltale config check, then reload. Upstreams and groups apply at once. Every key is in the configuration reference.

API

PUT or DELETE on /api/v1/upstreams/{name} and /api/v1/upstream-groups/{name}, with ?dryRun=true to preview. The body has the same fields as the TOML section. POST /api/v1/checks/upstream tests a draft, like Test it.

PUT /api/v1/upstreams/quad9-dot?dryRun=true
{"url": "tls://9.9.9.9", "tls_server_name": "dns.quad9.net"}

Encrypt lookups to your upstreams

Change an upstream's URL scheme to encrypt the lookups TelltaleDNS sends it. Certificates are checked against the built-in Mozilla root set, so you need no CA files, even in a minimal container.

DNS over TLS

[[upstream]]
name = "cloudflare-dot"
url = "tls://1.1.1.1"                       # DNS over TLS, port 853
tls_server_name = "cloudflare-dns.com"      # name on the certificate

Many queries share one connection (pool_size, default 4), closed after idle_timeout_ms (default 30 s).

DNS over HTTPS

[[upstream]]
name = "quad9-doh"
url = "https://dns.quad9.net/dns-query"     # DNS over HTTPS (HTTP/2)
bootstrap = ["9.9.9.9", "149.112.112.112"]  # how to look up dns.quad9.net itself

[[upstream]]
name = "google-h3"
url = "h3://8.8.8.8/dns-query"              # DoH over HTTP/3 (or https:// with http_version = "3")
tls_server_name = "dns.google"

Every query shares one HTTP/2 connection. doh_method = "get" sends GET requests instead of POST, for providers or HTTP caches that prefer it.

DNS over QUIC

[[upstream]]
name = "adguard-doq"
url = "quic://94.140.14.14"                 # DNS over QUIC, port 853
tls_server_name = "dns.adguard-dns.com"

One QUIC connection per upstream with a stream per query. It reconnects when the connection closes and never uses 0-RTT. A query that finds the connection already closed by the server is sent once more on a new one, and a new connection's handshake goes on (for up to 3 s once the address is known; the pre-save check and the probes allow it their longer timeout) for the next query when the query that started it runs out of time. A stream the server resets or stops is its answer to that query and isn't sent again. DoQ connections are counted in the telltale_upstream_connections_* metrics; in one report, quiet DoQ upstreams failed far less often with idle_timeout_ms = 600000 than with the default 30 s.

DNSCrypt and DNS stamps

Paste an sdns:// stamp (for example from the public list at dnscrypt.info) as the URL:

[[upstream]]
name = "adguard-dnscrypt"
url = "sdns://AQMAAAAAAAAAETk0LjE0MC4xNC4xNDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20"
# relay = "sdns://gQ8yMDMuMC4xMTMuNzo0NDM"   # Anonymized DNSCrypt: queries go through a relay
  • A DNSCrypt stamp becomes a DNSCrypt v2 upstream. A DoH, DoT, or DoQ stamp becomes the matching https://, tls://, or quic:// upstream, with no bootstrap lookup needed.
  • With a relay, the relay sees your address but can't read the queries, and the resolver sees only the relay's address. Pick a relay run by someone other than the resolver.
  • Hostname upstreams are looked up through bootstrap servers, or the system resolvers from /etc/resolv.conf when bootstrap is empty. Never through TelltaleDNS itself. To skip the lookup, put the IP in the URL and set tls_server_name.
  • tls_insecure_skip_verify = true turns certificate checks off and logs a warning. Don't use it on untrusted networks.

Client subnet (ECS)

Your devices' subnets are never sent. ecs = "203.0.113.0/24" sends a subnet you choose, for better CDN answers; ecs = "client" suits clients on public addresses. Details.

Forwarding loops

Queries forwarded to upstreams carry a loop-detection option, so a query that comes back to TelltaleDNS is dropped instead of going round. It doesn't catch two TelltaleDNS nodes that forward to each other, since a node never passes a client's options on: don't make two nodes each other's upstream. For a resolver that drops every query with an option it doesn't know, set loop_tag = false on it. Turning it off hides a loop, it doesn't fix one: keep it on for any upstream that can reach TelltaleDNS. It's refused toward a loopback or unspecified address, localhost, or a [[listen]] address on any port; the configuration doesn't check a DNS stamp's address, the node's API, metrics or cluster addresses, or other names and addresses of the machine, and Test it doesn't check it at all. In a cluster, upgrade every node first: a node that can't read the key stops following the cluster's changes (in a cluster). Details.

Through a proxy (Tor)

proxy = "socks5://127.0.0.1:9050" sends an upstream's traffic through SOCKS5 or HTTP, so the resolver never sees your address. Use tcp:// or tls:// with Tor. Details.

Pinning and client certificates

tls_ca, tls_client_cert, tls_client_key, and spki_pins for an office server with its own CA, mTLS, or a pinned key. Details.

Plugin upstreams

unix:// or exec://: anything that speaks DNS over a Unix socket can be an upstream. A dead plugin is a failing upstream like any other. Its health check asks the root's NS records (. NS), so a plugin should answer that question with NOERROR or NXDOMAIN, or it stays benched for longer on a node that sends it few queries. Plugins are defined in the config file: the UI and the API don't take them. Details.

Offer encrypted DNS to your devices

Phones, laptops, and browsers can reach TelltaleDNS over DNS over TLS (Android's "Private DNS"), DNS over HTTPS (browsers, iOS and macOS profiles), or DNS over QUIC, so nobody on the network path can read or change their lookups.

  1. Get a certificate for the name devices will use, such as dns.example.com from Let's Encrypt (DNS-01 works for internal names): a PEM chain (leaf first) and its key. Both files are re-read within 10 seconds of changing, so renewals need no restart.
  2. Add a listener for each protocol you want, as shown below. DoT uses TCP 853 and DoQ uses UDP 853, so both fit.
  3. Point a device at it: dns.example.com as Android's Private DNS, or https://dns.example.com/dns-query for DoH.

DoT listener

[[listen]]
proto = "dot"
addr = "0.0.0.0:853"
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }

DoH listener

[[listen]]
proto = "doh"
addr = "0.0.0.0:443"
path = "/dns-query"                     # default; /dns-query/<client-id> also works
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }

[[listen]]
proto = "doh3"                          # DoH over HTTP/3: UDP 443 next to the TCP one
addr = "0.0.0.0:443"
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }

DoH speaks HTTP/2 and HTTP/1.1. With a doh3 listener, HTTP/2 answers advertise HTTP/3 so browsers and apps that support it switch.

DoQ listener

[[listen]]
proto = "doq"
addr = "0.0.0.0:853"                    # UDP 853 (DoT uses TCP 853: both fit)
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }

Kubernetes (Helm values)

encrypted:
  dot:
    enabled: true
  doh:
    enabled: true
    http3: true
  doq:
    enabled: true
  tls:
    certManager:
      enabled: true
      issuerRef:
        name: letsencrypt
      dnsNames: [dns.example.com, "*.dns.example.com"]

Or use an existing Secret with encrypted.tls.secretName. The ports join the DNS LoadBalancer, so client addresses survive. See Helm values.

  • Devices can identify themselves. With a wildcard certificate (dns.example.com and *.dns.example.com), a device set to kids-tablet.dns.example.com, or to the URL https://dns.example.com/dns-query/kids-tablet, gets the client ID kids-tablet. [[client]] match = ["id:kids-tablet"] recognizes it wherever it is, even on mobile data. The path wins over the name. See Groups, devices, and VLANs.
  • Behind a load balancer: proxy_protocol = true on a tcp, dot, or doh listener reads the client's address from a PROXY protocol v2 header. Every connection must then start with one, so only turn it on when the balancer sends it. A header that names no client address (LOCAL health checks, AF_UNSPEC, AF_UNIX) keeps the socket address, and the settings for that address apply; those connections are counted in telltale_proxy_protocol_no_address_total, and from loopback the log says so for AF_UNSPEC and AF_UNIX (LOCAL only at debug), at most once a minute per listener. A doh listener with trusted_proxies refuses such headers instead (below).
  • Behind a reverse proxy: list the proxies on the doh listener, and it takes each client's address from them. See below.
  • Connection limits per listener: max_connections (default 1,024) and max_connections_per_address (default 32, 0 = no limit). A doh listener sets its main HTTP/2 limits itself rather than leaving them to its HTTP library: up to 200 queries at once on one connection, request headers up to 16 KiB (a request with more gets 431), and a connection is closed when it has more than 20 requests at once that it cancelled before they were read, or by the 1,025th of its requests that the listener has to refuse or reset (malformed ones, or ones over the 200 limit; a 431 doesn't count).
  • Slow and silent clients: as on tcp and dot listeners, a doh POST has 10 s to send its whole body (else it gets 408, and the connection's other requests go on (on HTTP/1.1 the connection then closes)), an answer has 10 s to find room for each next part of it (up to 16 KiB), and an HTTP/2 connection with no open request closes after 30 s even if it answers every PING (an HTTP/1.1 one after 10 s). When an answer's next part waits too long, or a connection has no open request for 30 s, the listener sends GOAWAY, gives the connection's other requests 10 s, and closes it.

Metrics, timeouts, and HTTP details: Encrypted DNS for your devices in the docs.

DoH behind a reverse proxy

A reverse proxy in front of DoH (to share port 443 with other sites, or to handle certificates) makes every query look like it comes from the proxy. List the proxies on the listener, and it takes each client's address from them. The listener keeps its TLS: the proxy re-encrypts to it, on the same host or across your network.

A proxy that sends X-Forwarded-For

[[listen]]
proto = "doh"
addr = "0.0.0.0:443"
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }
x_forwarded_for = true
trusted_proxies = ["10.0.5.20/32", "10.0.5.21/32"]   # the proxies' own addresses
max_connections_per_address = 0                       # every connection is a proxy's

The client is the rightmost X-Forwarded-For entry that isn't a listed proxy, as for the web UI's [api] trusted_proxies. X-Real-IP and Forwarded are not read. The proxy must add the address it sees, not pass on the client's: in nginx, proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;.

A proxy or balancer that sends a PROXY header

[[listen]]
proto = "doh"
addr = "127.0.0.1:8443"
tls = { cert = "/etc/telltale/tls.crt", key = "/etc/telltale/tls.key" }
proxy_protocol = true
trusted_proxies = ["127.0.0.1/32"]

For example Caddy's reverse_proxy https://127.0.0.1:8443 with transport http { proxy_protocol v2 }, or a balancer that passes TLS through. A proxy that pools connections must keep one per client (Caddy does).

  • Only the listed proxies connect. Any other address is closed at once.
  • Nothing is answered without a client's address: a PROXY header that is LOCAL or has no address, a missing or unreadable X-Forwarded-For, and a loopback or unspecified client are refused (a request gets 403; on HTTP/1.1 its connection is closed). A device on the proxy's own host uses the local listeners instead, and a proxy's health check goes to a TCP connect or the web UI's /livez.
  • The real client is the client everywhere: allowed networks, the rate limit, groups and devices, the query log. Clients outside your allowed networks are refused.
  • List only your proxies, never a whole network: each listed address can name any client. config check refuses 0.0.0.0/0 and warns about wider networks.
  • Behind x_forwarded_for, client IDs come from the URL path (/dns-query/kids-tablet), not the certificate name, and the listener isn't probed: add the proxy's public URL to [probe] targets.
  • In a cluster, set it on every node: listener settings are never shared. Remove the keys before going back to an older version, which refuses them.

Every rule, the metric, and Kubernetes notes: Behind a reverse proxy in the docs.

Send a domain to another server

Some names only exist on another server: your work network over a VPN, your router's own names, another lab. Send everything under that domain there (conditional forwarding). Your local names still answer first.

Web UI

  1. Open Names on my network and choose Send a domain to another server.
  2. Enter the Domain (such as corp.example) and the Server address (such as 10.0.0.53). Separate several servers with spaces; they're tried in order. For an encrypted server, use tls://10.0.0.53.
  3. Save.

Domains sent this way are left out of DNSSEC validation automatically (see below).

Config file

[[upstream]]
name = "home-router"
url = "udp://192.168.1.1"

[[upstream_group]]
name = "lan"
members = ["home-router"]

[[route]]
match_suffix = ["home.arpa", "168.192.in-addr.arpa"]   # local names and reverse lookups
upstream_group = "lan"

The longest matching suffix wins. Routes can also match match_qtype = ["PTR"]. Add dnssec_nta = true to a route whose zone isn't signed.

API

PUT /api/v1/forwards/corp.example?dryRun=true
{"servers": ["10.0.0.53"]}

Servers are addresses (plain DNS) or udp://, tcp://, tls://, or https:// URLs, tried in order. Domains routed in the config files are read-only here (409). Agents use the MCP tool plan_forward_domain with the config:write:forwards scope.

When the server only knows that domain (stub zones)

Sending a domain asks the server to look names up for you. A domain's own authoritative servers won't: they answer only for their domain, refuse other questions, and hand sub-domains to other servers instead of answering them. Forwarded to, they look broken (they're benched, and names in a handed-off sub-domain come back empty). Make the domain a stub zone instead, as BIND does: TelltaleDNS looks names under it up itself, starting at those servers and following their hand-offs.

The same goes for a server, such as a router, that answers only its own names. A forward's health check asks the root's NS records (. NS); answered with FORMERR or REFUSED, or not at all, the check fails, and with every member failing the upstream group shows as down and the health level as severe. A stub zone's check asks the zone's SOA instead.

Web UI

  1. Open Names on my network and choose Send a domain to another server.
  2. Enter the Domain and the servers' IP addresses, and tick These servers only know this domain, and hand some sub-domains to other servers.
  3. Save. The list shows the domain as a stub zone.

Config file

[[upstream]]
name = "corp-stub"
url = "recursive://"
[upstream.recursive]
stub_zone = "corp.example"
stub_servers = ["10.0.0.53", "10.0.0.54"]   # IP addresses, port 53

[[upstream_group]]
name = "corp"
members = ["corp-stub"]

[[route]]
match_suffix = ["corp.example"]
upstream_group = "corp"
dnssec_nta = true

API

PUT /api/v1/forwards/corp.example?dryRun=true
{"servers": ["10.0.0.53", "10.0.0.54"], "stub": true}

Agents: plan_forward_domain with stub: true.

  • Your servers win over what the public DNS says about the domain, so the inside view is what devices get.
  • Hand-offs are followed: a sub-domain the servers delegate is asked of its own servers, with the same safety checks as resolving without a forwarder.
  • Names outside the domain that an answer points to (an alias to a cloud service, say) are looked up from the root servers. The root never sees the domain's own names.
  • Health checks only ask whether those servers answer at all (any answer counts, even a refusal, except a SERVFAIL), so they aren't benched for refusing questions about other domains.
  • The servers are used as you list them (BIND's static-stub): list every one you want asked.

Resolve without a forwarder

TelltaleDNS can resolve names itself, from the root servers down, like unbound next to a Pi-hole, so no public resolver sees your lookups:

[[upstream]]
name = "recursive"
url = "recursive://"

[[upstream_group]]
name = "default"
members = ["recursive"]

# Optional (these are the defaults):
# [upstream.recursive]
# qname_minimization = true    # each server sees only as much of the name as it needs (RFC 9156)
# case_randomization = false   # 0x20: random letter case, checked in answers (spoofing defense)
# ipv6 = false                 # also ask servers over IPv6 (needs an IPv6 route)
  • Private by default: the root servers see only com, the com servers only example.com, and only example.com's own servers see www.example.com.
  • Worth turning on: case_randomization (off by default) asks with a random mix of upper and lower case and accepts only answers that echo it, which adds about one bit per letter to what an off-path spoofer must guess.
  • Fast after the first time: a first lookup in a new zone takes a few round trips (about 30 to 400 ms); after that, one.
  • Mix it in: it's an upstream like any other. Use strategy = "failover" with a public resolver as the fallback, or route only some domains through it.

Limits, root priming, and safety details: Recursive resolution in the docs.

Check DNSSEC signatures

TelltaleDNS can check DNSSEC signatures on answers itself instead of trusting the upstream. It's off by default.

[dnssec] modeA signed but broken answer (forged, expired, tampered)
off (default)Not checked.
permissiveAnswered anyway, counted, and logged at INFO (DNSSEC: bogus answer served (permissive mode)). Good for trying validation out.
validateSERVFAIL with Extended DNS Error 6 (DNSSEC Bogus), or 7, 8, or 10 when the signatures show why.

In both checking modes, valid answers carry AD for clients that ask, and unsigned answers are served as usual without it. With checking off, TelltaleDNS asks its upstreams for AD on every query and passes it on to clients that set DO or AD: that AD is the upstream's own claim, not a check made here, so turn checking on where that matters.

  1. Try it in permissive mode first and read the log for a while. Only names that are really broken (like dnssec-failed.org) should show up.
  2. Exempt internal zones that aren't signed, then switch to validate:
    [dnssec]
    mode = "validate"            # off (default) | validate | permissive
    negative_trust_anchors = ["corp.example"]   # internal zones that aren't signed
  • A client that sets CD (checking disabled) gets the unvalidated answer.
  • In a group with several upstreams, a broken answer is checked once more through the other upstreams first (never the one that answered the question), and only a secure or insecure answer from them is served; otherwise the SERVFAIL stands.
  • It works on cache misses only, and a validated answer is cached with its AD bit. A first lookup whose validation takes longer than the client waits (2.1 s by default) gets SERVFAIL with Extended DNS Error 22, "validation still running"; the validation goes on and the next question is answered from the cache.
  • Which questions validation asked, by type (the query's own, NS, DS, DNSKEY, SOA), and how long they waited, is in telltale_dnssec_questions_total and telltale_dnssec_question_seconds_total. With TELLTALE_LOG=debug, each validation logs one DNSSEC: questions line with those counts.
  • The validator keeps the answers to its own NS, DS, DNSKEY and SOA questions for their TTL (no longer than their signatures are valid, 15 minutes at most), so a validation doesn't ask the same question twice. Each answer is still checked every time it's used, and a client's own question always goes upstream.
  • The questions of a first lookup that don't depend on each other's answers (where each unsigned name's zone is cut, a zone's DS beside its keys) are asked together, 8 at a time for a validation and 32 for a node, as soon as the question's own answer has arrived; every answer is checked as before, so for upstreams whose answers depend only on the question only the time changes. A question the validation didn't need ends on its own and is kept only if the validation ended with a verdict; its timeouts are counted but don't open the member's breaker. Cold validations save the round trips now overlapped, while warm-zone validations with no round trip to save pay about 20 to 30 µs for planning; [dnssec] prefetch = false restores the previous sequential behaviour and timing exactly at the next reload: set it only once every node runs a version that knows the key. The bounds count questions, not packets: with recursive:// upstreams one question is up to 11 queries, and up to 96 after a chain of referrals. telltale_dnssec_prefetch_total counts what was asked, used, skipped and late.
  • The root's 2017 and 2024 keys are built in, so the root key rollover needs nothing from you.

NSEC proofs, unsigned-zone handling, and trust anchors: DNSSEC validation in the docs.

When an upstream fails

  • Slow upstreams are hedged. If an upstream is slow, the next one is tried in parallel rather than after a timeout, and the first good answer wins.
  • Failing upstreams are benched. One that fails 3 times in a row that its own answers don't explain (or more than half the time) is benched for 10 seconds, doubling up to 5 minutes, then probed again by the node's own health check. A SERVFAIL or REFUSED answer counts toward "more than half the time" but not "3 in a row", so one broken domain can't bench a healthy upstream.
  • Stale answers keep you going. If upstreams don't answer within 1.8 s and an expired answer is still cached (up to a day old by default), it's served with TTL 30 and Extended DNS Error 3 ("Stale Answer") while the refresh continues.
  • All failed: the client gets SERVFAIL with Extended DNS Error 22, and the SERVFAIL is cached for 5 seconds.

The Upstreams page's Answer quality card shows each upstream's DNSSEC verdicts and the error codes it attached. More in How a query is answered and How it works.

Troubleshooting

What you seeWhat to do
Test it reports a TLS name that doesn't matchSet tls_server_name to the name on the server's certificate.
"no certificate in the server's chain matches the stamp's hashes"The provider changed CAs before its stamp was updated. Take the newer stamp, or use the plain https:// or tls:// URL.
SERVFAIL with EDE 7 or 8 on many namesSignatures look expired or not yet valid: check the clock first.
An internal domain fails in validate modeAdd it to negative_trust_anchors, or set dnssec_nta = true on its route.
A Tor or HTTP proxy upstream doesn't answerThey don't carry UDP: use tcp:// or tls://.
Encrypted connections refused behind a load balancerIf the balancer hides client addresses, every client looks like the balancer: raise max_connections_per_address or set it to 0, or use proxy_protocol if the balancer sends it.
Behind a reverse proxy, DoH gets 403 or connections close at onceCheck that the proxy's own address is in trusted_proxies and that it sends X-Forwarded-For (or the PROXY header). Clients on the proxy's own host are refused through it. telltale_doh_forwarded_refused_total counts the refusals by reason, and the log line (at most once a minute) names the reason and, for a missing client address, its kind, such as xff_unusable when the proxy writes an entry that isn't a bare address.
A renewed certificate isn't usedA broken renewal keeps the old certificate and logs a warning. Check the log and the new files.
The log reports a loopAn upstream forwards back to TelltaleDNS. Point it somewhere else. Don't set loop_tag = false on it: that hides the loop instead of fixing it, and the queries go round.
An upstream times out on every query (over DoH, fails with an HTTP error), while dig from the same host gets answersIt may drop queries that carry an EDNS option it doesn't know. Set loop_tag = false on it (see Forwarding loops).