DNS-over-TLS Implementation Status

This table lists the best understanding of the current status of DNS-over-TLS related features in the latest stable releases of a selection of open source DNS software.

If there are errors or glaring omission please email sara@sinodun.com 

Also see guides on how to use NGINX and other proxies to provide DNS-over-TLS, also see here

This works with a couple of provisos:

  • Be aware that a client will think it is talking to a DNS-over-TLS server and so may keep connections open when idle even when not using EDNS0 Keepalive (as allowed by RFC7858 ). The nameserver will see only TCP connections which were historically used just for one-shot TCP and may not be robust to many long-lived connections.
  • Therefore this will work much better if the nameserver has robust TCP capabilities (as described in Sections 6.2.2 and 10 of RFC7766), and would be required for production level service. Any server that fully implements EDNS0 Keepalive (RFC7828) should meet this criteria.

See the DNS Privacy Reference Material page for more details on the individual features. 

Clients/Forwarders

Mode

Stub 

Caching forwarder/proxy

Software

ldns

(drill)

digit

getdns

(Stubby)

BIND

(dig)

Go
DNS 

Knot

(kdig)

UnboundBIND

Knot Res

GeneralSend ECS with SOURCE PREFIX-LENGTH value of 0 

(tick)(tick)
(tick)




TCP/TLS Features

TCP fast open(b)
(tick)

(tick)




(tick)

Connection reuse (Q/R, Q/R, Q/R)
(tick)

(tick)

(tick)(tick)(tick)
(tick)(tick)

Pipelining of queries(Q,Q,Q,R,R,R)

n/a(tick)

(tick)

(tick)(tick)(tick)
(tick)(tick)
Process OOOR (Q1,Q2,R2,R1)n/a (tick)

(tick)

(tick)


(tick)(tick)
EDNS0 Keepalive(c)

(tick)(tick)



(g)



TLS Features

TLS encryption (Port 853)
(tick)(tick)
(tick)(tick)(tick)
(tick)
TLS authentication

(tick)

(tick)(tick)
(tick)
EDNS0 Padding
(tick)(tick)(tick)
(tick)
(tick)
TLS DNSSEC Chain Extension








Servers

ModeLoad BalancerRecursiveAuth
Softwarednsdist(d)

Unbound

BIND

Knot

Res

CoreDNS(f)Tenta(f)NSDBIND

Knot

Auth

GeneralQNAME minimisationn/a(tick)(tick)(tick)





TCP/TLS Features

TCP fast open(b)(tick)(tick)(tick)(tick)


(tick)(tick)

Process Pipelined queries

(tick)(tick)(tick)(tick)

(tick)(tick)(tick)
Provide OOOR(h)
(tick)(tick)

n/an/an/a
EDNS0 Keepalive(c)

(tick)



(tick)



TLS Features

TLS encryption (Port 853)(tick)(tick)(e)(tick)(tick)(tick)


Provide TLS auth credentials(tick)(tick)(e)(tick)(tick)(tick)


EDNS0 Padding (basic)

(tick)(tick)


(tick)
TLS DNSSEC Chain Extension









KEY:

  • Green square (tick) - indicates latest release already supports this functionality
  • Blue square - indicates that a patch is available in our git repo. See here for details: DNS-over-TLS patches
  • Yellow square - indicates work in progress, or availabe in next release
  • P - Requires building against a patched version of libunbound


(a)    getdns uses libunbound in recursive mode
(b)    not yet available on Windows 
(c)    Implies robust TCP connection management (see RFC7828 and RFC7766)
(d)    The current implementation is available in the github repo and development packages but is considered experimental pending further testing and feedback
(e)    See this article for how to use stunnel with BIND to provide DNS-over-TLS - thanks Francis Dupont!
(f)     Full list of supported features to be confirmed
(g)    Can be added to queries but the response is currently ignored.
(h)    Supports OOOR but could be limited by the nameserver or configuration used for recursion. 

Note pipelining and OOOP are not applicable for synchronous applications. 


There is also a RUST implementation of a DNS client/server in development that supports DNS-over-TLS.


Mobile

PlatformStatus
Android

Android supports DNS-over-TLS in the Android P Developer Preview.

iOSWork in underway on an iOS app, however it is currently blocked by an implementation restriction.

DOH Implementation status

The picture for DOH implementation is move very rapidly. Some work to date:

  • No labels

4 Comments

  1. Anonymous

    According to http://ftp.isc.org/isc/bind9/9.12.0b1/RELEASE-NOTES-bind-9.12.0b1.html Bind 9.12 should support EDNS0 Padding Option. Not market yellow with "9.12" in table bind in recursive mode.

    1. Thanks for spotting - fixed!

  2. Anonymous

    What do the asterisks on "TCP fast open**" and "EDNS0 Keepalive***" indicate?

    1. They should have been (b) and (c) as in the top table. Fixed and thanks.