Oblivious DNS protocols hide the client's IP address from the recursive resolver by relaying encrypted queries through a proxy. Oblivious DNS-over-QUIC (ODoQ) was proposed as a faster alternative to Oblivious DNS-over-HTTPS (ODoH). We implement ODoQ, and compare it with ODoH over both HTTP/3 and HTTP/2, on one controlled testbed, and measure 144,000 queries under emulated delay and packet loss, with reused connections, full handshakes, and 0-RTT session resumption. Our results show that the oblivious approach adds less than 1.5 ms of computation over DoQ. The median resolution time of ODoQ stays within 1 ms of ODoH over HTTP/3 for every connection type, so the advantage of ODoQ over ODoH over HTTP/2 comes from QUIC: at 50 and 100 ms RTT, ODoH over HTTP/2 needs one more round trip for every new connection and shows up to 2.3x higher 95th-percentile latency under 5% packet loss. We also find that the ODoQ proxy must keep a persistent connection to the resolver, and that the RSA-OAEP key transport makes ODoQ queries about twice as large on the wire as ODoH queries (406 versus 216 bytes).
翻译:暂无翻译