Guide

Groups, devices, and VLANs

A group decides which lists, upstream servers, and answer settings apply to a set of devices. Give each network its own group, name the devices on it, and every chart and log line shows who asked.

For what groups show on the dashboard and the Groups page, see Groups and VLANs.

How a device finds its group

Each query's device is recognized first, then given its groups. The first match wins:

  1. Client ID (id:…), from the DoH URL path /dns-query/<id> or the DoT/DoH server name <id>.dns.example.com.
  2. MAC address, from a trusted router's EDNS option, or from the MAC table: the kernel's neighbor table (ARP and IPv6 NDP, read every 60 s), then the MAC addresses your routers report (UniFi, OPNsense, FRITZ!Box), this node's and those of the full cluster members it hears (a resolver pod hears only the primary).
  3. Exact IP address.
  4. The most specific CIDR.
  5. default, for every device that matched nothing.
  • By network: a device on a group's network belongs to that group, with no per-device setup. The most specific network wins.
  • By device: a [[client]] entry with its own groups wins over the network. Naming a device without giving it groups keeps it in its network's group.
  • In several groups, a device gets every list of all of them. Other settings, such as the blocked answer, come from its highest-priority group.

MAC addresses survive DHCP changes and IPv6 privacy addresses, so they're the most dependable key at home. The kernel's neighbor table only sees real devices with host networking (as on a Pi). With a router integration on this node or on a full cluster member it hears, a device is also recognized by the MAC its router reports where the kernel can't see it: in Docker's bridge network (rootful Docker on Linux, which keeps the device's address; rootless Docker, Podman and Docker Desktop hide it), in Kubernetes with externalTrafficPolicy: Local (a pod through the primary's router), and on other VLANs. The kernel's table wins; the routers' lists are IPv4 only; and a client that is offline, a MAC reported at more than one address (a range extender or bridge) or a router silent for 15 minutes never identifies a device. Name this device… offers the MAC address when it knows it. A block on a device named by its MAC applies only while the MAC is vouched for (not through a private address that changes, an extender, 15 minutes of router silence or a restart): a restriction you must enforce belongs on its network's group, not on a MAC alone.

A group per VLAN

Give each VLAN a group that owns its network. Filtering doesn't change until you give a group lists: a group without them uses every list, like default.

Web UI

  1. Open Groups → Manage groups, and add a group (or Edit one).
  2. Under Networks, enter its networks, one per line (192.168.20.0/24).
  3. Tick its Lists, and pick its Upstream servers. (default) means the default upstream group.
  4. In the Advanced view, set its Priority and Color if you like. Check shows what the change does; nothing is saved until Apply.

Config file

Make the upstream groups first, from presets or by hand:

telltale presets show cloudflare-family --proto tls --group family >> telltale.toml
telltale presets show quad9 --proto tls,https --group privacy >> telltale.toml

Then one group per VLAN (shortened from the docs' example):

[[group]]
name = "Trust"                    # laptops and phones
networks = ["192.168.10.0/24"]
lists = ["hagezi-pro"]
upstreams = "privacy"

[[group]]
name = "Kids"
networks = ["192.168.20.0/24"]
lists = ["hagezi-pro", "family-extra"]
upstreams = "family"
priority = 10

[[group]]
name = "IoT"                      # TVs, plugs, cameras
networks = ["192.168.30.0/24"]
lists = ["hagezi-pro", "smart-tv"]
rebinding_protection = true

[[group]]
name = "Guest"
networks = ["192.168.40.0/24"]
lists = ["hagezi-light"]
block_mode = "nxdomain"

IoT has no upstreams, so it uses default. Apply it with a reload (SIGHUP).

API

PUT or DELETE on /api/v1/groups/{name}, with ?dryRun=true to preview. The body has the same fields as the [[group]] section (networks, lists, upstreams, and so on).

  • A network belongs to one group: the same CIDR in two groups is a configuration error, unless the groups apply at different sites. Nested networks are fine.
  • Several sites on one cluster: two homes that reuse 192.168.1.0/24 each get a group for it with nodes = ["site:home1"] and nodes = ["site:home2"] (a group with nodes and no networks is the default of its sites). The group is the one of the site of the node that answers, so each site needs its own load balancer with externalTrafficPolicy: Local. MAC addresses that routers report identify devices only at the site of the router that listed them, and a device named by an address is the same device at every site. Set nodes only once every node runs a version that has it. Several sites on one cluster.
  • Which upstream answers, most specific first: a [[route]] for a domain (such as home.arpa to your router, for every group), a [[route]] with match_group, the group's upstreams, then default.
  • Caching is per upstream group, so a family resolver's answers are never served to another group.
  • Blocked services, safe search, and schedules are group settings too: see Block, allow, and explain.
  • See the effect: filter the query log by Group, or look at the group's card on the Groups page. In a cluster, every node attributes devices the same way.

Details: Groups for your networks and Upstream servers per group in the docs.

Name your devices

A name shows everywhere at once, including on past queries: names are looked up when data is read, so renaming relabels history.

Web UI

  1. Click a device's address anywhere: the dashboard's top clients, the query log, the live view, or Clients.
  2. Choose Name this device…, or Add to group… to put it in a group.
  3. When TelltaleDNS knows the device's MAC address (from your router, or its own neighbor table), pick Recognize it by: its MAC address, which follows the device when its address changes for as long as your router (or this server's neighbor table) keeps reporting that MAC at one address, or this address, which stops matching if the device gets another one. For a new device a MAC address from your router is what the dialog starts with, unless it is reported at more than one address; for a device that exists, its address is, and the MAC is offered. When your router lists the address but its MAC isn't offered, the dialog says why: the router's list is more than 15 minutes old, isn't sure which device is at the address, has no MAC address there that can recognize a device, another server's list isn't sure of it or the servers' lists disagree, or recognition by the routers' MAC addresses is off.
  4. From a quick rule: when the form in the query log's Why? holds an address whose MAC address your router reports, it suggests naming the device by its MAC so that rules follow it. Its Name this device… opens this dialog, and the rule is then for the name.

Operators and admins can name devices; viewers see the names. A device defined in a config file is read-only here. A device named by its MAC address alone isn't covered by anomaly mutes or change previews and simulations, and a phone's private Wi-Fi address can change: the dialog says so. Its guess of what it is, and its identity and rhythm by name, are read at the address where its MAC is recognized now. At query-log privacy level 2 and above, which hide clients, a device named only by its MAC is not looked up by its MAC.

Config file

[[client]]
name = "Kids tablet"
match = ["aa:bb:cc:dd:ee:01", "192.168.1.50", "id:kids-tablet"]
groups = ["kids"]

[[client]]
name = "Office"
match = ["10.0.5.0/24"]       # no groups: its network's group, else "default"

File entries win over names given in the UI, and the UI can't reuse their names. Changes apply on reload (SIGHUP).

API

curl -X PUT 'https://dns.example.com/api/v1/clients/Living%20room%20TV?dryRun=true' \
  -H "authorization: Bearer $TOKEN" -H "content-type: application/json" \
  -d '{"match": ["192.168.1.42"], "groups": ["default"]}'
  • Without dryRun the change is saved, applied, and audited.
  • Send GET /api/v1/clients's ETag back as If-Match to refuse the write if the config changed meanwhile (412). An Idempotency-Key header makes retries safe.
  • Send a new name in the body to rename; DELETE /api/v1/clients/{name} forgets a device.

Devices recognized by client ID

A device with a client ID in its match (id:kids-phone, from its DoT server name or its DoH path) is one device in the top clients, Clients → Last hour (with a client ID tag), the heatmap, the rhythm, anomalies and new devices, under its name, wherever its queries come from: behind a proxy or a tunnel, or on a phone that changes networks.

  • Every query of such a device counts under it, also the ones recognized by its MAC or its address. A device that also has a network (a CIDR wider than one address) in its match keeps its addresses: each host stays a row of its own, and telltale config check says so.
  • It is shown and asked for by its name, never by its ID; a client ID given where an address is taken is refused the same way whether or not a device has it, and telltale config check warns when a name shows a client ID (its own or another device's).
  • The query log names such a device on this node's own rows: the row shows its name with a client ID tag and, beside it, the address the query came from (often the proxy's). A row another node shipped here, a row from before the device had a client ID, and every row read at privacy level 2 and above show addresses (a row written at level 2 holds none); after a rename, the old rows do too. The reads that take a device by name (searching the log by it, its day, the live view) can't follow such a device yet, and say so. Explain and drills can't take it yet either.
  • Press Why? on such a row: it isn't explained (an explanation is of an address, here maybe a proxy's), and Make a quick rule starts for the device by its name. A rule for a proxy's address would apply to every query from it, so the form warns when you type that address. This covers the rows that are named: the Live view and an unnamed row still start from the address.
  • An anomaly mute can name such a device, even without an address in its match.
  • Whoever uses the ID is counted as the device: keep IDs like passwords. At query-log privacy level 2, no device is kept in the analytics, these included.

Details: Devices recognized by client ID in the per-device views in the docs.

Names from your router and mDNS

Your router's DHCP hands out addresses; TelltaleDNS can read its client list, so devices show up by name without any typing.

Supported routers. Four router types are supported. While a device is named by its MAC address, the router's list also lets the device keep its name, groups and rules when the router gives it another address.

UniFiOPNsenseMikroTikFRITZ!Box
typeunifiopnsensemikrotikfritzbox
What it readsThe connected clients, plus the offline ones seen within offline_days (30 by default; 0 for none; at most 365)The DHCP leases (Dnsmasq, Kea or ISC)The DHCP server's leases (RouterOS 7.1+, REST API): the bound ones (at most 1,024), plus the static ones not bound now, seen within offline_daysThe active IPv4 hosts in your client_subnets: signed in, the whole host list at once (at most 1,024 hosts); without a sign-in, one TR-064 request per host the box lists, active or not (a box that lists more than 1,024 isn't read)
NamesYour UniFi alias, else the host nameThe lease's host name (else its description)The lease's comment (its first line), else the host nameThe host name the box reports
MAC addresses identify devices ([clients] router_macs, on by default)Yes, for the connected clients at their current address (an offline one only names its address)YesYes, for the bound leases at their active address (an offline static lease, or a bound one reported without its active address or MAC, only names its address)Yes
Sign-inAn API key (Network 9+), or a local read-only userAn API key and secretA RouterOS user (username, password_file) in a group with the read, api and rest-api policies; not an API key, and no : in the usernameOptional: a user of the box (username and password_file) reads the whole host list at once; without one, the box must allow the host reads without credentials (turn on LAN access for applications (TR-064) on the box)
Set up inThe web UI (Clients → Discovered → Routers) or the configuration fileThe web UI or the configuration fileThe web UI or the configuration fileThe web UI when it is signed in (a user and its password); a box without a sign-in is set up in the configuration file only
Addresshttps:// (plain http:// works from the configuration file, with a warning); a self-signed console needs tls_ca and tls_server_namehttps:// (plain http:// works from the configuration file, with a warning); a self-signed certificate needs tls_cahttps:// (the www-ssl service; plain http://, the www service from RouterOS 7.9, works from the configuration file, with a warning), scheme, host and port onlyhttp:// or https:// in the configuration file, scheme, host and port only (the example below uses port 49000); the web UI takes https:// for a sign-in
Several of themOne entry per console and site (site)One entry per firewallOne entry per routerOne entry per box, each with its own client_subnets
In a clusterOne node reading it is enough; keep its key on the primary (and, for a failover, on the node that would take over)The sameThe same; resolver pods don't read it, and get what it says from the primaryEvery node that serves DNS reads it itself, as there is no key to place; resolver pods don't, and get what it says from the primary
  • Read every interval_secs (300 by default), and at least every 10 minutes while a device is named by its MAC. A router that doesn't answer keeps its last list and is asked again after 15 seconds (a FRITZ!Box that fails inside its host list, or after the password was sent, and a MikroTik router that refuses a read, wait 15, 30, 60 and 120 seconds, then every 240). After 15 minutes without an answer, its list still names devices but no longer recognizes them by MAC.
  • A router's list recognizes devices at IPv4 addresses only for now (a device's IPv6 queries are recognized by MAC only through the kernel's NDP table). A router gives an address and a MAC: a host name never recognizes a device. Names you give devices win, then the router's, then mDNS.
  • The configuration check warns about every router read over plain http://, whatever its type: keep the route to such a router private (your LAN or a VPN).
  • Not on the list? Open an issue naming the router you use. A router type only reads the router's client list, so each one is small.

FRITZ!Box over TR-064: set type = "fritzbox" and client_subnets = ["192.168.40.0/24"] in a named [[router]] entry. With a user of the box (username, password_file) and url = "https://192.168.40.1:49443", it reads the whole host list at once, and it can be added in the UI like the other routers; without a sign-in (url = "http://192.168.40.1:49000", in the file only) it reads one host a request. Over https://, save the box's self-signed certificate as tls_ca with tls_server_name = "fritz.box": a router accepts an exact copy of it whatever its dates, so save it again when the box makes a new one. Use a distinct subnet per site and verify that the TR-064 description is reachable over the LAN or VPN. The source reads active IPv4 hosts reported by the router (start with the Mesh Master); without a sign-in it needs access to the Hosts read actions without credentials. [clients] router_macs is on by default: while a device is named by its MAC, this list identifies devices; router_macs = false keeps it to names. List only the networks behind the box (a network wider than /16 or outside the private ranges is warned about). It keeps its own interval_secs while another router is failing, and what it sends is held to size limits (a host name over 253 bytes isn't kept). A failed sign-in (a refused password, a user without the right, no answer once the password was sent) is tried again after 15, 30, 60 and 120 seconds and then every 4 minutes, whatever its interval_secs (at most 19 tries in the first hour from each node that reads the box); a password pasted again is tried at once. Signed in, the whole list has 30 seconds to arrive. Only full cluster members read it, and over plain http:// the node warns when the list identifies devices, so keep the route private. In a cluster, upgrade every node first: an earlier version refuses a shared configuration with type = "fritzbox". Remove the entry before going back to an earlier version. If clients query through the router's DNS forwarder, the log and policy use the router's source address. Configure clients to query TelltaleDNS directly for per-device policy.

MikroTik over the RouterOS REST API (RouterOS 7.1 or later): set type = "mikrotik" with a RouterOS user (username, password_file) in a group with the read, api and rest-api policies, at url = "https://192.168.88.1" (the www-ssl service; the plain www service serves REST from RouterOS 7.9). On the router, give the www-ssl certificate key-usage=digital-signature,key-encipherment,tls-server (without it, RouterOS gives it every usage, signing other certificates included), sign it with a local CA made with days-valid=3650, and set that CA as tls_ca; before the router certificate expires (365 days by default), sign a new one with the same CA, and tls_ca stays as it is. List every node that holds the password (the primary and the node a failover would promote) in the RouterOS user's address: the router refuses the others. The www-ssl service can take tls-version=only-1.2 and an available-from list of the same nodes (address on older RouterOS versions; it also limits WebFig over HTTPS, and a node left out of it gets no answer rather than a 401), and the binary api service can stay disabled: the REST API doesn't use it. Each read is one request that sends the password (RouterOS logs a sign-in when it opens a session, about every 10 minutes while the password works, and each one it refuses), so it keeps its own interval_secs while another router is failing, and a read the router refuses (a wrong password, a group without the policies) is tried again after 15, 30, 60 and 120 seconds and then every 4 minutes, whatever its interval_secs (at most 19 tries in the first hour from each node that reads it); a password pasted again is tried at once. What it sends is held to size limits (4 MiB, 4,096 leases, 1,024 of them bound: more fails the read and keeps the last list), and a name over 253 bytes isn't used; control characters are dropped from names, and past 500 KiB of what a node passes to the other cluster members, the rest of a router's names are left out (its devices stay listed by address). A bound lease reported without its active address or MAC names its address but doesn't recognize a device there. A failed read's log line says what to check: a 401 is the username, the password, the group's rest-api and api policies, or the user's address; a 403, the REST API turned off for the service; a 500, a group without the api or read policy; a 404, RouterOS before 7.1. Only full cluster members read it, not resolver pods. In a cluster, upgrade every node before adding a MikroTik router: an earlier version refuses a shared configuration with type = "mikrotik". Remove it before going back to an earlier version.

In the UI (admins): Clients → Discovered → Routers → Add router. Pick UniFi, OPNsense, MikroTik or FRITZ!Box, give its https:// address, and paste the API key (for MikroTik, a username and password; for a FRITZ!Box, a username and its password, and its client networks). TelltaleDNS saves it to a new file only it can read, under secrets/ in the data folder, and never shows it again; the row says key saved. Changing the address, the type, the site, or the TLS settings needs the key typed again. Changes apply within 5 seconds after the reads in progress end (a removed router's names go after the next round of reads), without a restart.

  • Only administrators change routers (their own sign-in or an admin API token; agent tokens can't). Others see them without their key files or user names.
  • Paste the key, don't name a file. A key kept in a Docker or Kubernetes secret is named in the configuration file instead. A pasted key needs an https:// address (or a loopback one), and with Don't check the certificate the address as a number (https://192.168.1.1), not a host name. Open the UI over https:// to paste a key: on a plain-HTTP page from another machine, the editor warns that the key crosses the network unencrypted.
  • A pasted key stays on the node that saved it, and isn't in backups. After a restore on another machine, or a failover to another primary, the router says key missing: enter it again until you paste it on the node that takes configuration changes. A copy of the whole data folder or a volume snapshot does hold the keys: keep it private, and encrypt the volume.
  • In a cluster of native nodes, a replica, or a primary promoted after a failover, reads a router from the primary's configuration file only when its key files are in /run/secrets/ or /etc/telltale-secrets/ on that node, as in the example below (keys in /etc/telltale/, as earlier versions showed, aren't read there: move them, such as to /etc/telltale-secrets/firewall/api_secret). Otherwise it logs a warning saying why and what to do. A router changed in the UI may name only a key pasted there or the very key file and address the configuration file gives it: an override that kept the file's key (in those folders or anywhere else) is left out (with a warning) once the file moves or removes the router, and isn't shared with the other nodes. One that names another file in the data folder's secrets/ (restored or edited by hand) stays in place of the file's router but isn't read, also with a warning. A replica's Routers page shows the primary's status (its own only while the primary can't be reached): what a replica does is in its log. With the Helm chart nothing changes.

Or in the configuration file:

[[router]]
name = "udm"
type = "unifi"                         # UniFi OS consoles and the Network application
url = "https://192.168.1.1"
api_key_file = "/etc/telltale-secrets/udm/api_key"   # UniFi Network 9+ (Settings → Control Plane → Integrations)
tls_ca = "/etc/telltale/udm.pem"       # the console's own certificate (self-signed)
tls_server_name = "unifi.local"        # the name in it

[[router]]
name = "firewall"
type = "opnsense"
url = "https://opnsense.lan"
api_key_file = "/etc/telltale-secrets/firewall/api_key"     # System → Access → Users → API keys
api_secret_file = "/etc/telltale-secrets/firewall/api_secret"

[[router]]
name = "mikrotik"
type = "mikrotik"                      # RouterOS 7.1 or later (the REST API, www-ssl)
url = "https://192.168.88.1"
username = "telltale"                  # a group with the read, api and rest-api policies
password_file = "/etc/telltale-secrets/mikrotik/password"
tls_ca = "/etc/telltale/mikrotik-ca.crt"   # the CA that signed the www-ssl certificate
  • UniFi gives the connected clients and the offline ones it saw in the last 30 days (offline_days; 0 for connected ones only), at their last address, named by their UniFi alias, else their host name. OPNsense gives its DHCP leases (Dnsmasq, Kea, or ISC). MikroTik gives its bound DHCP leases, and the static leases that aren't bound now as offline devices (within offline_days), named by the lease's comment, else the host name.
  • A self-signed UniFi console: save its certificate as tls_ca (openssl s_client -connect 192.168.1.1:443 </dev/null | openssl x509 > udm.pem). It names unifi.local, not the address you reach it at, so set tls_server_name to that name. The console is then verified, and only that certificate is trusted.
  • The routers' MAC addresses recognize devices too. A device you named by its MAC address is recognized at whatever address your router says it has now, so its name, groups and rules follow it, also in Docker, in a Kubernetes pod and on another VLAN. A router never makes a device, and a host name never recognizes one. interval_secs = 60 is a good value for that; a router silent for 15 minutes stops recognizing devices. Check the router's certificate (tls_ca): the configuration check warns about every router read over plain http:// or with an unchecked certificate, whatever its type. Resolver pods hear only the primary, and a replica's router reaches only the nodes with a direct stream to it (the primary, and, under automatic failover, the other voters), so keep the key on the primary and, for high availability, on the node that would be promoted. [clients] router_macs = false turns it off, once every node is upgraded.
  • Credentials stay in files (a key pasted in the UI is saved to one). Routers are read every interval_secs (300). Routers in the configuration file apply at start and on reload (SIGHUP); ones added or changed in the UI apply within 5 seconds after the reads in progress end. Keep key files in /etc/telltale-secrets/<router>/ (mode 0600) or /run/secrets/.

mDNS: phones, speakers, printers, and NAS boxes announce names like Kitchen-HomePod.local. To use them for devices you haven't named:

[clients]
mdns = true
  • Listen only: TelltaleDNS never sends mDNS, and it shares port 5353 with avahi. It needs to hear the LAN: a native install, the Docker Compose bundle, or a pod with host networking. Changing it needs a restart.
  • Which name wins: the name you gave, then the router's, then mDNS.
  • In a cluster, one node reading the router (or hearing mDNS) is enough: every node uses the names the others know, so resolver pods name devices the same way the primary does.
  • Clients → Discovered lists every device a router or mDNS found; naming one from there suggests the name it gave. GET /api/v1/dhcp/leases lists them too.

Details: Names from your router and Names devices announce.

What is this device?

TelltaleDNS guesses what each address is from what it already sees: the maker of its network card (from the MAC address), the name it announces, and the domains it talks to. The Clients page then says, under the device: "Looks like a Roku player (likely) · Roku". Why? lists the evidence.

  • Naming: Name this device… fills in the guess when the device hasn't told your router a name. A guess never becomes a name by itself.
  • Suggested groups: give a group the kinds of device that belong in it, and matching devices get it suggested. Nothing moves on its own.
[[group]]
name = "iot"
device_classes = ["camera", "doorbell", "plug", "bulb", "hub", "thermostat", "vacuum"]
  • Wrong guess? Name the device and set What it is ([[client]] kind = "camera", or "unknown" to stop guessing).
  • It never changes how a query is answered. It's off at query-log privacy level 1 and above, and with [identify] enabled = false. How it works.

Names on your network

Local names are answered by TelltaleDNS itself, before the cache and the upstreams.

Web UI

  1. Open Names on my network. It lists every local name, grouped by domain.
  2. For a first device, run Set up my home domain (home.arpa by default). Add, edit, or remove names: A, AAAA, and CNAME in Simple, every type in Advanced.
  3. To send a domain to your router or another server, use Send a domain to another server.

Each change is previewed in a sentence and a diagram before it's saved, and every name has a Test link to Explain. Names from the config files are read-only.

Config file

[[record]]
name = "nas.home.arpa"
type = "A"                      # A, AAAA, CNAME, PTR, TXT, MX, SRV
value = "192.168.1.10"

[local]
hosts_files = ["/etc/telltale/hosts"]   # "IP name [alias...]" lines
auto_ptr = true                          # reverse lookups for every A/AAAA (default)

A [[zone]] makes TelltaleDNS the authority for a whole domain: names it doesn't have get NXDOMAIN. With groups, only those groups see it (split horizon):

[[zone]]
name = "corp.example.com"
groups = ["office"]
[[zone.record]]
name = "intranet.corp.example.com"
type = "A"
value = "10.10.0.5"

API

  • GET /api/v1/records, and PUT/DELETE /api/v1/records/{name} with {"records": [{"type": "A", "value": "192.168.1.10"}]}.
  • GET /api/v1/forwards, and PUT/DELETE /api/v1/forwards/{domain} with {"servers": ["10.0.0.53"]}.
  • All take ?dryRun=true, If-Match, and Idempotency-Key, like devices.

Details: Local records and Local zones. For the same name with a different answer on each network (a group per network, its rewrites, and zones only some groups see), see Different answers per network.

Per-group answers

These are set on a group. In the UI, the last three are in the group's editor, in the Advanced view.

SettingWhat it does
[[group.rewrite]]Answers a name differently for the group (an address, or a CNAME to another name), such as a split-horizon name or a test server. Blocks still win; for a name everyone should get, use a local record.
dns64 = trueFor IPv6-only devices behind NAT64: names without an IPv6 address get one made from their IPv4 address (prefix 64:ff9b::/96 by default).
filter_aaaa = true (No IPv6 addresses)For a network whose IPv6 is broken: AAAA questions get an empty answer, so devices use IPv4 at once. Your local records still answer AAAA. Not with dns64.
rebinding_protection = trueBlocks public names that answer with private, loopback, link-local, or CGNAT addresses (DNS rebinding). rebinding_allow lists names that may (plex.direct); block_answer_ips refuses answers in networks you list, for any name. Local records and routed domains are never affected.
[[group]]
name = "guest"
networks = ["192.168.50.0/24"]
filter_aaaa = true

Real addresses, access, and rate limits

Per-device statistics, groups, and rules need each query's real sender. Route your VLANs to TelltaleDNS rather than through a forwarder that rewrites addresses. When most recent queries come from a few infrastructure addresses (loopback, gateways, node addresses), the UI shows a Client IPs appear masked banner.

CauseFix
Kubernetes with externalTrafficPolicy: ClusterUse Local (the chart's default) or hostNetwork: true.
Docker with a userland proxy (IPv6 or 127.0.0.1 port publishing)Run with network_mode: host, or publish on the LAN address.
A router that forwards DNS for its clientsHand out TelltaleDNS's address in DHCP instead. If you can't, enable the router's EDNS MAC option (dnsmasq add-mac) and trust it, as below.
[clients]
trust_edns_mac_from = ["192.168.1.1/32"]   # ignored by default: any device could send it
infrastructure = ["10.42.0.0/16"]          # e.g. your cluster's pod network

Who may query: by default, private ranges, CGNAT/Tailscale (100.64/10), link-local, and loopback; everyone else gets REFUSED. TelltaleDNS is never an open resolver by default.

[access]
allowed_networks = ["192.168.0.0/16", "fd00::/8", "127.0.0.0/8"]

[ratelimit]
queries = 1000          # per client per window
window_secs = 60
action = "refused"      # or "drop"
exempt = ["127.0.0.0/8", "::1/128"]
  • A router or proxy that forwards for a whole network looks like one address and is refused above about 17 queries a second: add it to exempt, or raise queries.
  • Change the rate limit in Settings → Query handling → Rate limit, or with PUT /api/v1/ratelimit/default. A change replaces the whole section, so keep 127.0.0.0/8 and ::1/128 in the exempt list. Details.

Troubleshooting

What you seeWhat to do
Every query comes from one address, or Client IPs appear maskedSomething rewrites the sender: see the causes above. With Docker's bridge network, every query appears to come from the gateway.
A device isn't in its VLAN's groupCheck that it reaches TelltaleDNS with its own address, and that no [[client]] entry gives it other groups (those win over the network).
The config is refused: a network in two groupsA CIDR can belong to one group only. Nested networks are fine.
You can't edit a device in the UIIt's defined in a config file; files win. Change it there. On a primary promoted after a failover, the devices of the cluster version it continues from are read-only in the same way.
A device change is refused with "already identifies"Every change is checked against the configuration this node applies, and an address can identify one device only: give the device a match the other one doesn't use. A stored device that isn't in effect can still be removed with DELETE /api/v1/clients/{name}; the log line ignoring config made in the UI until this is fixed names the ones its reasons point at. Details.
Router or mDNS names don't appearA router whose row says key missing needs its key pasted again (on the node that takes configuration changes); one that says key file missing needs its key file put back where the configuration names it; one that says key not used has a key file this node doesn't send for it (the log says why). On a replica, the page shows the primary's status: the replica's log says what it does. [[router]] changes in the file apply on reload (SIGHUP); mdns needs a restart and host networking. For a self-signed UniFi console, set tls_ca and tls_server_name.
A phone shows no makerPhones use private Wi-Fi addresses, so the maker is unknown; the domains and name decide the guess.
Queries through your router are refusedIt's over the rate limit as one address: add it to [ratelimit] exempt or raise queries.
Rebinding protection blocks a service you useAdd its domain to the group's rebinding_allow.