Where BIND uses cryptography: DNSSEC, zone transfers, DoT and DoH

BIND uses cryptography in DNSSEC signing, TSIG and rndc shared secrets, and TLS for DoT, DoH and zone transfers. This entry lists each area so you can build an inventory before any upgrade.

On this page

Where does BIND use cryptography, and why inventory it now?

Before planning any change to a BIND deployment, the operator needs a written record of every place BIND uses cryptography. Without that record, a later decision about signing algorithms, TLS settings or key storage rests on memory and guesswork. The areas to inventory are DNSSEC signing and validation keys, the TSIG and rndc shared secrets, the TLS configuration used for DNS over TLS (DoT), DNS over HTTPS (DoH) and zone transfers over TLS, and the administration channel. Each of these has different keys, different algorithms and different owners, so each needs its own line in the record.

The DNS operator should own the entry, working with the security lead who signs off on it. Most of the settings sit in the BIND 9 Administrator Reference Manual (ARM) and the man pages for dnssec-keygen, tsig-keygen, rndc-confgen and dnssec-dsfromkey, so the inventory can be built from the vendor documentation for the release in use. BIND 9 ARM and the BIND 9 man pages are the natural starting points. Record the exact BIND version and the OpenSSL or TLS library it was built against, because the tls options depend on that library and the system cryptographic policy.

For each area, capture the algorithm, key size, key location, rotation practice and which configuration block holds the setting. Note whether a key is a public-key signing key (DNSSEC) or a shared HMAC secret (TSIG and rndc), since that distinction decides what later work involves. Confirm the values on your own servers rather than assuming defaults, since the ARM notes that most tls options have no fixed default. The finished record becomes the baseline for every later step.

Which BIND functions use cryptography, and what they protect

This table lists each BIND function that uses cryptography, what it protects, the algorithm family involved, whether it depends on public-key algorithms, and where it is configured. Read the public-key column first, since those are the entries that need post-quantum planning. Functions the vendor has not documented are marked as such, so you can confirm them with ISC or in your own environment.

AreaWhat it protectsAlgorithm familyDepends on public-key algorithmsWhere configured
DNSSEC zone signingAuthenticity and integrity of zone data through RRSIG signaturesRSA, ECDSA, EdDSA, ML-DSA-44 (selectable), default ECDSAP256SHA256Yesdnssec-policy keys statement, dnssec-keygen -a
DNSSEC validation trust anchorsRoot of trust for validating resolvers, installed via built-in root key or managed keysPublic keys in DNSKEY records (RSA, ECDSA, EdDSA)Yesdnssec-validation option, managed-keys database (RFC 5011)
TSIG zone transfersAuthentication of primary and secondary servers during zone transfer and notifyHMAC (hmac-md5 through hmac-sha512, default hmac-sha256)Nokey statement, primaries statement
rndc command channelAuthentication of administrative commands sent to namedHMAC shared secret (Base64 key)Nokey statement, controls block, rndc-confgen
DoT and zone transfers over TLSConfidentiality and server authentication of DNS queries and transfers on port 853TLS library: certificate signatures and key exchange (RSA, ECDSA, DHE, ECDHE)Yestls block, primaries statement referencing a tls configuration
DoHConfidentiality and server authentication of DNS queries over HTTPSTLS library: certificate signatures and key exchange (RSA, ECDSA, DHE, ECDHE)Yestls block, http block (endpoints default /dns-query)
TLS library dependenciesCryptographic primitives behind all TLS functions above, set by the library and system crypto policyTLS library (version-dependent, cryptographic policy-dependent)YesLibrary version and system-wide cryptographic policy, not a named BIND option
Firmware or update signingNot documented by the vendor for BIND as a standalone productNot documented by the vendorNot applicableConfirm with ISC or your packaging provider

Which protocols and settings choose BIND's algorithms?

BIND's cryptographic choices come from several separate places: DNSSEC signing policy, TSIG and rndc shared-secret keys, and the tls block that governs DoT, DoH and zone transfers over TLS. Each path has its own setting, so an inventory has to check each one on its own.

DNSSEC zone signing

DNSSEC signatures in BIND are chosen by the algorithm named in a dnssec-policy keys statement, or by the -a option of dnssec-keygen. The zone-level dnssec-policy option defaults to none, and the built-in policy named default signs with ECDSAP256SHA256. Check each signed zone for its policy, since a zone can carry an algorithm different from the server default. Confirm the algorithm list against the dnssec-keygen man page of your build version.

BIND 9 ARM

TSIG zone transfer keys

TSIG authenticates zone transfers and dynamic updates between primaries and secondaries using a shared HMAC secret, not a public-key certificate. The algorithm is set in the key statement and in keys made with tsig-keygen, where the default is hmac-sha256. Truncated variants such as hmac-sha1-80 can be requested with a bit count. Review which key names and algorithms each primary and secondary pair uses.

The rndc control channel

The rndc command channel authenticates administrative commands to named with a shared secret declared in a key statement, and rndc-confgen -A selects its algorithm, defaulting to hmac-sha256. The key is a symmetric secret, so it does not depend on certificates. Check that the key file's algorithm and key size match your administration policy, and that the control channel is limited to trusted hosts.

DNS over TLS listeners

DoT listeners take their cipher and protocol behavior from a tls block, referenced by the listener's configuration. The ciphers option applies to TLSv1.2 only, cipher-suites applies to TLSv1.3 only, and protocols and prefer-server-ciphers set the version range and preference. Most of these options have no fixed default, since they depend on the TLS library version and the system cryptographic policy, so record the effective values on each host.

BIND 9 ARM

Zone transfers over TLS

A secondary zone sends transfer requests over TLS when its primaries statement references a tls configuration. Strict TLS authenticates the primary through a configured remote-hostname and ca-file, while opportunistic TLS, used when those are unset, encrypts without authenticating. Check which secondaries use strict and which use opportunistic TLS, because the second setting does not authenticate the server.

DNS over HTTPS endpoints

DoH listeners are configured with the http block, and its endpoints option defaults to /dns-query. The TLS session under DoH is governed by the same tls options as DoT, so the certificate, ciphers, cipher-suites and session-tickets settings apply there too. Confirm which tls block each DoH listener references and whether session resumption is allowed under your forward-secrecy requirements.

Where are BIND's certificates and keys stored, and who rotates them?

DNSSEC zone-signing keys (ZSK) and key-signing keys (KSK), or a single combined-signing key (CSK), are generated with dnssec-keygen or created automatically under a dnssec-policy. They are public-key material: the private half signs zone data and the public half is published in the zone. The facts do not give a default storage directory for these files, so confirm where your build and configuration write them, and whether they sit alongside the zone file. Under the built-in default policy, a zone is signed with a single CSK using ECDSAP256SHA256 and an unlimited lifetime, which means no scheduled rollover unless you define your own policy.

  • Built-in default policy: the default policy uses one CSK, ECDSAP256SHA256, with an unlimited lifetime. Zones without a dnssec-policy setting have no policy at all, since the zone-level option defaults to none.
  • Custom keys statements: a dnssec-policy keys statement can name algorithms such as rsasha256, ecdsa384, or ED25519, and MLDSA44 where the build supports it. If no key size is given, BIND uses an appropriate default for the algorithm.
  • Manual generation: dnssec-keygen produces key files, and RSA defaults are 1024 bits for a ZSK and 2048 bits for a KSK. Deprecated algorithms such as RSASHA1 and NSEC3RSASHA1 should be inventoried separately.
  • Rotation: under a policy, rollover follows the policy's lifetimes. Under manual management, rotation is performed by your operators with dnssec-keygen and dnssec-settime.

Confirm in your own configuration which keys each zone uses, where the files live, and who holds the rollover schedule.

How do administrators and tools reach BIND, and what protects each path?

The control paths into BIND are the rndc command channel and the TSIG keys that protect zone transfers between primaries and secondaries. Both rely on shared secrets defined in a key statement, and those secrets are HMAC keys, not certificates or public-key pairs. The ARM describes the key statement as a shared secret for TSIG or the rndc channel, with a Base64-encoded secret. That makes these paths symmetric, so a post-quantum upgrade of the DNSSEC signing keys does not by itself change how rndc or TSIG authenticate.

Administrators usually generate these secrets with rndc-confgen for the rndc key and tsig-keygen for zone transfer keys. The man pages list hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512, with hmac-sha256 as the default for both tools. rndc-confgen -b sets the key size from 1 to 512 bits and defaults to the hash size of the chosen algorithm. Check which algorithm and key length each deployed key uses, and confirm the rotation process, since these secrets are the first thing an attacker would target to reach the control channel.

The facts supplied do not describe a web or API management interface for BIND, so do not assume one exists. Confirm what your deployment exposes: whether controls binds rndc to a specific address, whether any HTTP statistics channel or http block is enabled, and which hosts can reach each. Any listener you find should be listed in your inventory with the authentication it uses. The BIND 9 ARM and man pages are the references to check against your own configuration.

Which BIND updates and release artifacts are signed, and by whom?

BIND 9 reaches operators through ISC releases, paid support tiers and release notes. The sources supplied for this page document the license, support model and release changes, but not how release artifacts are signed or verified. The cards below separate what is documented from what you need to confirm before you trust a build.

What the license and support model cover

BIND 9 is free open-source software under the MPL 2.0 license, and ISC sells paid support subscriptions in Gold, Silver, Bronze and Basic tiers. The license governs use and redistribution of the source. It does not describe how a particular binary or package is signed. Check whether your support tier includes access to security advisories and patch notices, and ask ISC which channel delivers them.

ISC BIND page

What the release notes document

Release notes for 9.21.27, 9.21.28 and 9.20.31 describe behavior changes, including the removal of HMAC keys for SIG(0) and DNSSEC and the deprecation of NSEC3 salts under RFC 9276. They describe changes to the software. They do not describe how the release artifacts are signed, which key signs them, or how a recipient verifies them. Read the notes for the version you deploy, and treat them as a record of behavior rather than of provenance.

BIND release notes

What the supplied facts do not document

The supplied facts say nothing about firmware or artifact signing for BIND. They do not name a signing key, a signature format or a verification command. Do not assume that a download is signed, or that a given signature scheme is in use, until ISC confirms it. This gap matters for any inventory of cryptography in your update path.

Confirming the method with ISC

Ask ISC to state, in writing, how each release artifact is signed, which public key or certificate verifies it, and where that key is published. Ask whether the method differs between source tarballs, binary packages and container images. Record the answer with the version and date it applies to, since signing practices can change between releases.

Verifying through your own package source

If you install BIND from a Linux distribution or an internal mirror, your package manager's signature checks apply to the copy you receive, not to ISC's original artifact. Confirm which repository signing keys your systems trust, and who controls them. Record the verification step in your release process so each installed version has a traceable source.

What to record for each BIND cryptographic item

This table lists the fields an inventory row needs for each BIND cryptographic item, from the edition and exact version to the algorithm, key size and TLS library version. Use it to record one row per DNSSEC key policy, zone transfer link, DoT or DoH listener, or TSIG key. Fields that depend on the TLS library or on a dnssec-policy setting are flagged so they are not left blank.

FieldWhat to recordWhere to confirm it
Product and editionBIND 9, open source (MPL 2.0) or ISC subscription tier (Gold, Silver, Bronze or Basic)ISC BIND page and your support contract
BIND version and patch levelExact release, such as 9.20.31 (Current Stable and Extended Support) or 9.21.28 (development branch)named -V output on each host
Owner and host or zoneTeam accountable for the item, plus the host or zone name it applies toYour configuration and asset records
Protocol and purposeDNSSEC signing, TSIG, rndc, zone transfer over TLS, DoT or DoHnamed.conf tls, http and key statements
Algorithm and key sizeDNSSEC algorithm and key size from dnssec-policy or dnssec-keygen, or HMAC algorithm and bit count for TSIG and rndc keysdnssec-policy keys statement, dnssec-keygen -a and -b options, key statements
TLS library and versionName and version of the TLS library BIND was built against, since most tls options depend on itnamed -V output and your system package manager
Certificate issuer and expiryIssuer and expiry date for each certificate used by a tls block, where one appliesCertificate file (cert-file) inspected with your PKI tooling
Configurable or fixedWhether the setting can be changed in configuration or is fixed by the build or versionARM entry for the option and your build settings
Confidentiality lifetimeHow long the protected data must stay confidential, which affects whether forward secrecy settings matterYour data classification and retention policy

Which BIND items depend on public-key algorithms?

Only part of what BIND does with cryptography depends on public-key algorithms, and an inventory needs to separate those items from the ones that use shared secrets. The public-key items are the DNSSEC signature algorithms and the TLS library's certificates and key exchange. The DNSSEC algorithms are the ones listed by dnssec-keygen for -a: RSASHA256, RSASHA512, ECDSAP256SHA256, ECDSAP384SHA384, ED25519, ED448 and MLDSA44 (ML-DSA-44). The TLS items cover DNS over TLS (DoT), DNS over HTTPS (DoH) through the http block, and zone transfers configured with a tls block, all of which rely on the certificates and key exchange of the TLS library in use. The ARM notes that most tls options have no fixed default because they depend on the library version and the system-wide cryptographic policy, so confirm the actual library and policy on each server rather than assuming them.

The symmetric items are the TSIG and rndc keys. The ARM describes the key statement as a shared secret, Base64-encoded, for TSIG or the rndc command channel, and the algorithms named by tsig-keygen and rndc-confgen -A are hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512. These are HMAC shared secrets, not certificates, so they belong in the inventory as a separate category. Two items in the algorithm lists need flagging. RSASHA1 and NSEC3RSASHA1 are marked deprecated in dnssec-keygen, and the DS digest SHA-1 is marked deprecated in dnssec-dsfromkey. ISC's 2025 development report says these were deprecated with warnings. Anything still using them should be listed for replacement, separately from the post-quantum question.

ML-DSA-44 is the one post-quantum DNSSEC algorithm named in the BIND 9.21.28 release notes, and it needs a build against OpenSSL 3.5 or newer. Confirm your build's OpenSSL version before planning any use of it. It is not the default: the built-in default dnssec-policy signs with ECDSAP256SHA256, so a zone uses ML-DSA-44 only when an operator sets it explicitly. The release notes also give its sizes as about 1.3 KB for public keys and about 2.4 KB for signatures, which matters for packet and zone planning. For the RSA and elliptic-curve detail, see the sibling page on which BIND functions depend on those keys. For what BIND supports and how to enable it, see the page on post-quantum support status.

How do you gather BIND's cryptographic settings for the inventory?

This sequence collects, in read-only steps, every place BIND's configuration, key files, TLS certificates and parent DS records show cryptography in use. The output is an inventory that records what is configured and what the vendor or distribution must still confirm.

  1. Export the named configuration and list crypto blocks

    Run named-checkconf -p to print the effective configuration from the included files, then search the output for each dnssec-policy, key, tls and http block. Record every primaries statement that references a tls block, since those zone transfers run over TLS. The step is complete when each block and each TLS-referencing primary is written down with the file and line it came from. Confirm the export against the live files, because included files can change what is effective.

  2. Run read-only key and DS checks where needed

    Where the configuration names an algorithm but the key files are unclear, run dnssec-keygen and dnssec-dsfromkey only to inspect or compute values, writing any output to a scratch location and never to a live key directory. Use the man pages to confirm which -a algorithm values and digest types each version accepts, including MLDSA44 and the deprecated RSASHA1 and SHA-1 options. The step is complete when each algorithm and digest in use is matched to a documented value.

  3. Confirm the BIND and OpenSSL versions

    Run named -V to report the BIND version and the OpenSSL library it was built against. Compare the result with the ARM and release notes to see whether ML-DSA-44 can be used, which the 9.21.28 release notes say requires a build against OpenSSL 3.5 or newer. Record the version string and the linked library, since a distribution package can differ from upstream. The step is complete when availability is recorded as confirmed, not confirmed, or to be confirmed with the packager.

  4. List DNSSEC keys in each zone key directory

    For each signed zone, list the key files in its directory or key-directory and note each key's algorithm, role (KSK or ZSK, or CSK), and lifetime from the file names and key headers. Check whether the active keys match the dnssec-policy each zone names, and whether any retired keys remain. The step is complete when every zone has a list of keys with algorithm and role, and any key that does not match its policy is flagged for review.

  5. Review TLS certificate files and expiry

    For each tls block, read the files named by cert-file, key-file and ca-file, and where present dhparam-file, then record each certificate's subject, issuer, signature algorithm and expiry date using openssl x509 -noout. Note whether remote-hostname and ca-file are set, since their absence means opportunistic TLS, which encrypts without authenticating. The step is complete when each certificate has its expiry date recorded and each TLS block is marked as authenticated or unauthenticated.

  6. Check zone DS records at the parent

    For each signed zone, compare the DS records published by the parent with the DS values BIND computes from the current KSK, using dnssec-dsfromkey output and a DNS query for DS at the parent. Record the digest type each parent publishes, since the dnssec-dsfromkey man page lists SHA-256 as the default and SHA-1 as deprecated. The step is complete when each zone shows whether its DS record matches the active key and which digest type is in use.

  7. List what the configuration leaves unshown

    Some cryptographic settings do not appear in named.conf, including the TLS library version and the system-wide cryptographic policy. Put these questions to the distribution or vendor: which TLS library and version the package links, whether the system cryptographic policy restricts ciphers or protocols, and whether the build enables FIPS mode. Check each setting against the BIND 9 ARM and man pages, which document the options named in this inventory. The step is complete when each open question has a named owner and a recorded source.

Common questions about BIND's cryptographic inventory

Is BIND quantum safe?

BIND does not ship as quantum safe by default, and no post-quantum algorithm is enabled out of the box. The facts support one option: ML-DSA-44 (DNSSEC algorithm 18), which BIND 9.21.28 supports for generating keys, signing zones and validating signatures. It requires a BIND build against OpenSSL 3.5 or newer, and you must select it explicitly in a dnssec-policy keys statement or with dnssec-keygen -a MLDSA44. The built-in default policy uses ECDSAP256SHA256. Support covers DNSSEC signing only. The TLS parts of BIND, used for DNS over TLS, DNS over HTTPS and zone transfers over TLS, depend on the TLS library and are not covered by this option. Confirm the algorithms your build and library actually provide before you record an answer.

Which BIND version should I check for post-quantum support?

Check the version you run against the BIND 9.21.28 release notes, which are the source for ML-DSA-44 support. The same notes say it needs a BIND build against OpenSSL 3.5 or newer, so check the OpenSSL version your build links against as well as the BIND version. ISC's product page listed 9.20.31 as the Current Stable and Extended Support Version and 9.21.28 as the development branch on 2026-12-03, so the branch you run matters. Record the exact BIND version, the build options and the OpenSSL version in your inventory, because the answer applies only to that combination.

Does a BIND cryptographic inventory cost extra?

The facts I was given do not include a price for inventory work, so this answer cannot give a figure. Cost depends on how many servers, zones, keys and TLS configurations you have, and on whether your team does the work or hires help. Ask any provider for a written scope that lists the systems, the BIND versions, the keys and the TLS listeners covered, the deliverable format and the retest or update terms. Ask whether any cost recurs, such as support subscriptions. ISC sells paid support in Gold, Silver, Bronze and Basic tiers, and BIND itself is free software under the MPL 2.0 license, so ask whether any support tier is part of your plan.

What breaks if I change a BIND cryptographic setting?

Changing a DNSSEC algorithm affects the keys, the signatures and the DS records in the parent zone, so a change in signing algorithm needs a planned key rollover. Changing dnssec-policy in a zone affects how that zone is re-signed. Changing TLS settings affects the clients connecting over DNS over TLS, DNS over HTTPS and zone transfers over TLS. The ARM notes that most tls options have no fixed default and depend on the TLS library version and the system-wide cryptographic policy, so the effect of a change can differ between hosts. Test each change on a staging server, then check the resolver and secondary behavior before you change production. Record the old and new values so you can roll back.

What should I ask ISC about BIND post-quantum support?

Ask ISC which BIND version and build configuration supports each post-quantum algorithm, and whether any algorithm is the default. Ask what the support covers, DNSSEC signing only or the TLS listeners too, and which OpenSSL or TLS library versions are required. Ask whether ISC has published a roadmap, a deprecation plan or a transition guide for BIND, and request the dates and documents. ISC's 16 July 2024 blog post described experimental work using liboqs and said those schemes were not well suited to the existing DNS ecosystem, so ask whether that position has changed. Ask for any commitments in writing, and record the date of each answer.

Can my team inventory BIND cryptography alone, or do we need outside help?

Your team can do much of the inventory alone if the staff know the BIND configuration and have access to every server. The work covers the dnssec-policy and key settings in each zone, the tls and http blocks, the TSIG and rndc keys, the TLS library and OpenSSL versions, and the BIND build options. The ARM and the man pages list every option needed, so a checklist can drive the work. Outside help is useful when the server count is large, the configuration is spread across many teams or you need an independent record for an assessment. Whichever path you take, the record should show what you checked, when you checked it and which versions it applies to.

Does BIND use post-quantum cryptography for TSIG and rndc keys?

No. The TSIG and rndc keys documented by ISC are HMAC shared secrets, not public-key certificates. The BIND ARM lists hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512 as the supported TSIG algorithms, with hmac-sha256 as the default for tsig-keygen. The 9.21.27 release notes say BIND no longer accepts HMAC keys for SIG(0) or DNSSEC, because those algorithms were meant only for TSIG. For your inventory, record these keys as symmetric secrets, list their algorithms and key sizes, and note where each is stored. Confirm the algorithm and key length for each key in your own configuration files.

How DeployOpen works on this

DeployOpen builds a cryptographic inventory of a BIND deployment before any upgrade is planned. The work covers the DNSSEC signing policy, TSIG and rndc keys, and the TLS configuration used for DoT, DoH and zone transfers over TLS. The output is a dated record of which settings, keys and libraries each server actually uses.

How we scope

  • Each engagement starts with a written scope listing the BIND versions, servers and zones in the inventory.
  • The scope names which DNSSEC policies, TSIG keys, rndc keys and tls blocks are included for review.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • We record each zone's dnssec-policy and key algorithms, including whether ECDSAP256SHA256 or another algorithm is set.
  • We review the TLS library and tls block options, such as dhparam-file, session-tickets and cipher settings, on each server.
  • We test the build against the BIND version in use, since ML-DSA-44 requires a build against OpenSSL 3.5 or newer.

How we hand over

  • The handover includes a per-server inventory of DNSSEC algorithms, TSIG HMAC algorithms and TLS certificates.
  • Each finding is dated and tied to the exact BIND release, so teams can confirm it against their own environment.
  • Customers receive a list of open questions to confirm with ISC or in their own configuration files.

How we support

  • Ongoing support is available as a retainer, covering inventory updates after BIND upgrades or policy changes.
  • Retainers can include re-running the inventory when ISC publishes new releases or deprecation notices.
  • Support scope, frequency and fees are agreed in writing, with no pricing estimated on this page.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.