DANE allows domain owners to publish in DNS the fingerprint (hash) of their TLS certificate or public key via a TLSA record. When a client connects to the server, it verifies that the presented certificate matches the TLSA record published in DNS. For this verification to be secure, DNS must be signed with DNSSEC, so that an attacker cannot forge the TLSA record. DANE is used primarily for email (SMTP) and, to a lesser extent, for the web.