Using the CBOR-based DNS format (application/dns+cbor) reduces DNS message sizes — CBOR DNS queries are at most 136 bytes versus classic DNS queries at 83 bytes for the 99th percentile — but smaller, more uniform packet sizes inadvertently improve classifier accuracy for DNS frame identification, counteracting obfuscation. Reducing packet size and reducing detectability are conflicting goals in packet-format obfuscation.
From 2026-lenders-secrets-best-not — Secrets Best Not Shared: DNS Privacy Enhancements for the Constrained IoT
· §2 / §4 / §6
· 2026
· arXiv preprint
Implications
Do not apply DNS payload compression (e.g., CBOR encoding) without simultaneously equalizing block sizes via block-wise transfer — compression alone creates a new size-based fingerprint that classifiers exploit.
When evaluating obfuscation protocols, measure classifier accuracy rather than packet size as the primary metric; smaller is not always harder to detect.