ArticleslgStudy

computer science

DNS-based Authentication of Named Entities

DNS-based Authentication of Named Entities is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DNS-based Authentication of Named Entities rather than just read about it. In short: DNS-based Authentication of Named Entities (DANE) is an Internet security protocol to allow X.509 digital certificates, commonly used for Transport Layer Security (TLS), to be bound to domain names using Domain Name System Security Extensions (DNSSEC). It is proposed in RFC 6698 as a way to authenticate TLS client and server entities without a certificate authority (CA).

Key takeaways

  • DNS-based Authentication of Named Entities belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DNS-based Authentication of Named Entities to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DNS-based Authentication of Named Entities from memory before moving on to harder problems.

Reference excerpt

DNS-based Authentication of Named Entities (DANE) is an Internet security protocol to allow X.509 digital certificates, commonly used for Transport Layer Security (TLS), to be bound to domain names using Domain Name System Security Extensions (DNSSEC). It is proposed in RFC 6698 as a way to authenticate TLS client and server entities without a certificate authority (CA). It is updated with operational and deployment guidance in RFC 7671. Application specific usage of DANE is defined in RFC 7672 for SMTP and RFC 7673 for using DANE with Service (SRV) records.

Rationale TLS/SSL encryption is currently based on certificates issued by certificate authorities (CAs). Within the last few years, a number of CA providers suffered serious security breaches, allowing the issuance of certificates for well-known domains to those who don't own those domains. Trusting a large number of CAs might be a problem because any breached CA could issue a certificate for any domain name. DANE enables the administrator of a domain name to certify the keys used in that domain's TLS clients or servers by storing them in the Domain Name System (DNS). DANE needs the DNS records to be signed with DNSSEC for its security model to work. Additionally DANE allows a domain owner to specify which CA is allowed to issue certificates for a particular resource, which solves the problem of any CA being able to issue certificates for any domain. DANE solves similar problems as:

Certificate Transparency Ensuring that rogue CAs cannot issue certificates without the permission of the domain holder without being detected DNS Certification Authority Authorization Limiting which CAs can issue certificates for a given domain

Email encryption Until recently, there has been no widely implemented standard for encrypted email transfer. Sending an email is security agnostic; there is no URI scheme to designate secure SMTP. Consequently, most email that is delivered over TLS uses only opportunistic encryption. Since DNSSEC provides authenticated denial of existence (allows a resolver to validate that a certain domain name does not exist), DANE enables an incremental transition to verified, encrypted SMTP without any other external mechanisms, as described by RFC 7672. A DANE record indicates that the sender must use TLS. Additionally, RFC 8162 exists for applying DANE to S/MIME, and RFC 7929 standardises bindings for OpenPGP.

Support

Applications Google Chrome does not support DANE, since Google Chrome wishes to eliminate the use of 1024-bit RSA within the browser (DNSSEC previously used a 1024-bit RSA signed root, and many zones are still signed with 1024-bit RSA, although the modern default is 256-bit ECDSA). According to Adam Langley the code was written and, although it is not in Chrome today, it remains available in add-on form. Mozilla Firefox does not support DANE. Based on the reactions in tickets on the subjects ("We have no plans to implement this feature"), DNSSEC and DANE are currently seen by Mozilla developers as outside of the scope of Firefox. Addon support was available until Firefox 56 (last updated 2016), but no longer exists. It can no longer be implemented with the more recent, more restrictive Firefox-extension APIs. GNU Privacy Guard Allows fetching keys via OpenPGP DANE (--auto-key-locate). New option --export-options export-dane. (version 2.1.14) Cheogram Android allows verifying via DANE and shows the status if DANE was used or not FairEmail for Android allows verifying DANE for SMTP and POP/IMAP servers

Servers Postfix PowerMTA Exim Prosody

Services Posteo Tutanota mailbox

Libraries OpenSSL GnuTLS

TLSA RR The TLSA RR (Resource Record) for a service is located at a DNS name that specifies certificate constraints should be applied for the services at a certain TCP or UDP port. At least one of the TLSA RRs must provide a validation (path) for the certificate offered by the service at the specified address. Not all protocols handle Common Name matching the same way. HTTP requires that the Common Name in the X.509 certificate provided by the service matches regardless of the TLSA asserting its validity. SMTP does not require the Common Name matches, if the certificate usage value is 3 (DANE-EE), but otherwise does require a Common Name match. It is important to verify if there are specific instructions for the protocol being used.

RR data fields The RR itself has 4 fields of data, describing which level of validation the domain owner provides.

the certificate usage field the selector field the matching type field the certificate association data E.g. _25._tcp.somehost.example.com. TLSA 3 1 1 0123456789ABCDEF

Certificate usage

The first field after the TLSA text in the DNS RR, specifies how to verify the certificate.

A value of 0 is for what is commonly called CA constraint (and PKIX-TA). The certificate provided when establishing TLS must be issued by the listed root-CA or one of its intermediate CAs, with a valid certification path to a root-CA already trusted by the application doing the verification. The record may just point to an intermediate CA, in which case the certificate for this service must come via this CA, but the entire chain to a trusted root-CA must still be valid. A value of 1 is for what is commonly called service certificate constraint (and PKIX-EE). The certificate used must match the TLSA record, and it must also pass PKIX certification path validation to a trusted root-CA. A value of 2 is for what is commonly called trust anchor assertion (and DANE-TA). The TLSA record matches the certificate of the root CA, or one of the intermediate CAs, of the certificate in use by the service. The certification path must be valid up to the matching certificate, but there is no need for a trusted root-CA. A value of 3 is for what is commonly called domain issued certificate (and DANE-EE). The TLSA record matches the used certificate itself. The used certificate does not need to be signed by other parties. This is useful for self-signed certificates, but also for cases where the validator does not have a list of trusted root certificates.

Selector When connecting to the service and a certificate is received, the selector field specifies which parts of it should be checked.

A value of 0 means to select the entire certificate for matching. A value of 1 means to select just the public key for certificate matching. Matching the public key is often sufficient, as this is likely to be unique.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with DNS-based Authentication of Named Entities

Start with the simplest possible case. Write down what DNS-based Authentication of Named Entities claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DNS-based Authentication of Named Entities before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DNS-based Authentication of Named Entities ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DNS-based Authentication of Named Entities

In research
DNS-based Authentication of Named Entities appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DNS-based Authentication of Named Entities in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DNS-based Authentication of Named Entities is common in secondary-school and first-year university syllabi. It links to neighbouring topics Domain Name System, Domain Name System Security Extensions, Internet Standards, so understanding it makes those chapters shorter.
In everyday life
Look for DNS-based Authentication of Named Entities outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DNS-based Authentication of Named Entities” →

How to study DNS-based Authentication of Named Entities in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DNS-based Authentication of Named Entities means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DNS-based Authentication of Named Entities out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DNS-based Authentication of Named Entities in simple terms?

DNS-based Authentication of Named Entities (DANE) is an Internet security protocol to allow X.509 digital certificates, commonly used for Transport Layer Security (TLS), to be bound to domain names using Domain Name System Security Extensions (DNSSEC). It is proposed in RFC 6698 as a way to authent…

Why does DNS-based Authentication of Named Entities matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DNS-based Authentication of Named Entities?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DNS-based Authentication of Named Entities.

Tags

  • Domain Name System
  • Domain Name System Security Extensions
  • Internet Standards
  • Key management
  • Public-key cryptography
  • Transport Layer Security

Keep exploring