Which BIND functions depend on RSA and elliptic-curve keys

In BIND 9, public-key cryptography is used by DNSSEC signing and validation and by the TLS library behind DoT, DoH and zone transfer over TLS. TSIG and rndc keys are HMAC shared secrets, not public keys.

On this page

Which BIND 9 functions depend on public-key cryptography today

Security leads assessing exposure in a BIND 9 deployment need to know that public-key cryptography appears in two places: DNSSEC signing and validation, and the TLS library used for DNS over TLS (DoT), DNS over HTTPS (DoH) and zone transfer over TLS. In DNSSEC, BIND supports RSA, ECDSA and EdDSA signatures, and ML-DSA-44 can be selected only on builds against OpenSSL 3.5 or newer. Per the ARM, the built-in default dnssec-policy signs zones with ECDSAP256SHA256, so a zone that uses the default policy depends on elliptic-curve keys. TSIG and rndc keys are documented by ISC as HMAC shared secrets, not public keys, so they fall outside this inventory.

Operators who must inventory keys should check three things: which zones set a dnssec-policy and which algorithm each keys statement names, which tls blocks are referenced by listen-on or primaries entries, and which ca-file, key-file and cert-file values those blocks use. The TLS certificate and key exchange depend on the cryptographic library in use, and the ARM notes that most tls options have no well-defined default, so confirm the effective settings on each server rather than assuming them. Confirm the OpenSSL version each build was compiled against before planning any ML-DSA-44 use.

The facts supplied show no post-quantum roadmap from ISC and no shipped post-quantum feature beyond ML-DSA-44 listed in the 9.21.28 release notes. ML-DSA-44 keys are about 1.3 KB and signatures about 2.4 KB, which matters for response sizes and planning. Treat ML-DSA-44 as an explicit, opt-in choice that must be tested against resolvers and zone-transfer peers, and ask ISC or your support provider to confirm any plans not documented in the release notes or ARM.

Which BIND 9 components use which key type, by version

This table lists each BIND 9 component that touches public-key or symmetric keys, the key types it uses, the version notes the facts give, and the date of the source. Read it to separate DNSSEC signing keys, which are public-key, from TSIG and rndc keys, which are HMAC shared secrets, and to see where the facts are silent on TLS details. The main takeaway is that only the DNSSEC signing and TLS rows carry public-key exposure.

ComponentKey typeVersion or edition noteWhat the facts saySource date
DNSSEC signing (default policy)ECDSAP256SHA256 (public-key)Built-in default dnssec-policy in BIND 9 ARMDefault signs with a single combined-signing key using ECDSAP256SHA256 with an unlimited lifetimeChecked 2026-12-04 (BIND 9 ARM)
DNSSEC key generation (dnssec-keygen)RSA, ECDSA, ED25519, ED448, MLDSA44 (public-key)MLDSA44 requires BIND built against OpenSSL 3.5 or newerRSA keys run 1024 to 4096 bits; RSASHA1 and NSEC3RSASHA1 are deprecated; MLDSA44 is an accepted -a valueBIND 9.21.28 release notes; man pages
ML-DSA-44 signingMLDSA44, DNSSEC algorithm 18 (public-key)Supported in 9.21.28; not the defaultPublic keys about 1.3 KB and signatures about 2.4 KB; must be chosen explicitly in dnssec-policy or dnssec-keygenBIND 9.21.28 release notes; IANA registry checked 2026-08-10
TSIG keys and rndcHMAC shared secrets (symmetric, not public-key)tsig-keygen and rndc-confgen default to hmac-sha256Accepts hmac-md5 through hmac-sha512; truncated hashes possible; 9.21.27 stopped accepting HMAC for SIG(0) or DNSSECBIND 9 ARM; man pages; 9.21.27 release notes
DoT, DoH and zone transfer over TLSCertificates and key exchange from the TLS library (not fully specified)Most tls options have no fixed default and depend on library version and system crypto policydhparam-file supplies parameters for DHE suites; the facts do not name the key exchange groups the library negotiatesBIND 9 ARM (undated in the facts)
DS digests (DNSSEC delegation)Digest, not a key (SHA-1, SHA-256, SHA-384)SHA-1 deprecated; dnssec-cds defaults to SHA-256 onlydnssec-dsfromkey default is SHA-256; DS digest type 1 (SHA1) deprecated with warningsBIND 9 man pages; ISC 2025 report
NSEC3 saltNot a key; parameter on signingDeprecated in 9.21.28 and 9.20.31 per RFC 9276A warning is logged when nsec3param sets a non-zero salt-lengthBIND 9.21.28 and 9.20.31 release notes
Post-quantum support beyond ML-DSA-44Not stated in the factsISC's 2024 study covered experimental schemes outside BINDThe facts do not describe a shipped roadmap for other post-quantum DNSSEC algorithms; confirm with ISC before planningISC 2024 PQC study; ISC 2025 report

Which BIND settings touch RSA, ECDSA or HMAC keys

BIND uses three different kinds of keys, and they carry different post-quantum exposure. DNSSEC signing keys are public-key pairs, TLS listeners rely on the certificates and key exchange of the underlying library, and TSIG and rndc keys are HMAC shared secrets. The cards below map each setting to its dependency so you can inventory them before planning any change.

DNSSEC policy and keys statement

The dnssec-policy and its keys statement choose the signing algorithm for a zone. Each key is a public-key pair, so this is the main public-key dependency in BIND. The ARM says the built-in default policy uses a combined signing key with ECDSAP256SHA256, so zones on that policy depend on ECDSA unless a keys statement overrides it. Algorithm choice is explicit: RSA sizes come from the dnssec-keygen man page, and ML-DSA-44 must be chosen by name on a build against OpenSSL 3.5 or newer. Check each zone's policy and its algorithm line.

BIND 9 ARM

TLS block for DoT and zone transfer

The tls block sets key-file, cert-file, ca-file, dhparam-file, ciphers, cipher-suites and protocols. The certificate and key-exchange behavior comes from the TLS library BIND is built against, so the public-key dependency is the library's, not a BIND-specific algorithm. The ARM says most options have no fixed default and depend on the library version and the system cryptographic policy. Record the library and version, then confirm which certificate and key types each tls block loads.

BIND 9 ARM

DoH endpoints and the http block

DNS over HTTPS listeners are configured in the http block, and its endpoints option defaults to /dns-query. The DoH listener is served over TLS, so its public-key exposure is the certificate and key exchange of the TLS library, the same as the tls block. The endpoint path itself carries no cryptographic setting. Check which tls configuration each DoH listener references and which certificate it presents.

BIND 9 ARM

Primaries statement for zone transfer over TLS

A primaries statement that references a tls configuration sends zone transfer requests over TLS. Strict TLS authenticates the primary server through a configured hostname, which relies on certificates from the chosen CA. Opportunistic TLS, used when remote-hostname and ca-file are unset, encrypts without authenticating the peer. The public-key dependency is therefore the certificate chain for authenticated transfers. Confirm which secondary zones reference a tls block and whether strict or opportunistic mode applies.

BIND 9 ARM

Root trust anchors under dnssec-validation auto

With dnssec-validation auto, BIND installs a built-in root zone trust anchor current as of its release date. Other trust anchors are kept current under RFC 5011 in the managed-keys database. The root trust anchor is a DNSSEC public key, so the resolver's validation depends on the signature algorithms of the root zone. Confirm the BIND release date, whether auto is set, and whether any initial-key or initial-ds anchors exist in the managed-keys database.

BIND 9 ARM

TSIG and rndc key statements

The key statement defines a shared secret for TSIG or the rndc command channel, stored as a Base64 string. These are HMAC secrets, not certificates or public-key pairs, so they do not depend on RSA or elliptic-curve keys. The ARM lists the supported HMAC algorithms, and tsig-keygen defaults to hmac-sha256. Confirm each key uses an HMAC algorithm from that list and that the secret is stored with restrictive file permissions.

BIND 9 man pages

How BIND traffic and key material map to public-key and HMAC use

The diagram starts at the zone signed under dnssec-policy, where DNSSEC keys such as ECDSAP256SHA256 or RSA sign records, and a validating resolver checks those signatures against managed-keys trust anchors. Alongside this, DoT, DoH and zone-transfer TLS sessions depend on the certificates and key exchange of the TLS library, while TSIG and rndc links use HMAC shared secrets from the key statement. Check which edges your build and configuration actually use, since ML-DSA-44 requires OpenSSL 3.5 or newer and is not the default.

Key types on each BIND data flow: DNSSEC and TLS use public keys, TSIG and rndc use HMAC secrets.

How the answer differs for authoritative and recursive deployments

Authoritative servers are where BIND generates and uses DNSSEC signing keys, so public-key algorithms appear most directly here. The dnssec-policy statement controls the keys used for each zone. The built-in default policy signs a zone with a single combined-signing key using ECDSAP256SHA256, and a keys statement can name another algorithm such as rsasha256 or ecdsa384. Zone transfers over TLS add a second public-key dependency through the tls block referenced in a secondary zone's primaries statement.

  • DNSSEC signing keys: The key algorithm is set in the dnssec-policy keys statement or with dnssec-keygen -a, and the ARM lists the accepted values.
  • Default policy: The built-in default policy uses ECDSAP256SHA256, so a different algorithm must be chosen explicitly.
  • ML-DSA-44 option: MLDSA44 can be selected in dnssec-keygen and dnssec-policy only on a build against OpenSSL 3.5 or newer, as illustrated by the keys statement or dnssec-keygen -a MLDSA44 command.
  • Zone transfer over TLS: The tls configuration referenced by primaries sends transfer requests over TLS, and its certificate and key-exchange behavior comes from the TLS library in use.
  • Session and forward secrecy settings: dhparam-file and session-tickets affect DHE cipher suites and resumption for transfers.

Confirm the BIND build's OpenSSL version and each zone's dnssec-policy before recording an answer for this role.

Inventory BIND public-key use before any change

This sequence produces a dated record of every BIND setting, key and link that relies on RSA, ECDSA, EdDSA or TLS public-key cryptography, separated from the symmetric HMAC secrets. Security leads can use the result as the baseline for deciding what a later change would touch.

  1. Record the BIND version and OpenSSL build

    The operator runs named -V on each server and records the BIND version, the configure options and the OpenSSL version the binary was built against. Check the output for the OpenSSL version, then run dnssec-keygen -a list (or the equivalent in the man page) to confirm whether MLDSA44 appears in the algorithm list. The step is closed when the version, OpenSSL build and MLDSA44 availability are written into the inventory with the date. ML-DSA-44 is listed in the 9.21.28 release notes as requiring a build against OpenSSL 3.5 or newer, so a missing MLDSA44 entry is a finding to record, not a reason to guess.

  2. List every zone and its dnssec-policy

    The operator lists each zone in named.conf and any included files, noting the dnssec-policy value for each. A zone with no dnssec-policy statement uses the default of none, while the built-in policy named default uses ECDSAP256SHA256 with a single combined-signing key. For each zone with a custom policy, the operator records every algorithm in its keys statement, including the key size where one is given. The step is closed when every signed zone has an entry listing its policy name and algorithms, and every unsigned zone is marked as such.

  3. Record tls and http block settings

    The operator finds every tls and http block in the configuration and records key-file, cert-file, ca-file, dhparam-file, ciphers, cipher-suites, protocols and session-tickets for each. Where a setting is absent, the entry says so, because the ARM states that most tls options have no fixed default and depend on the TLS library version and the system cryptographic policy. The operator records the library version, since that drives the effective defaults. The step is closed when each tls and http block has a row in the inventory with its certificate and key files named and its ciphers and dhparam-file either filled in or marked as unset.

  4. List primaries that use tls

    The operator finds every secondary zone whose primaries statement references a tls configuration, since those zone transfer requests run over TLS. For each, the operator records the zone name, the primary address and the tls profile used, and notes whether remote-hostname is set, because the ARM says strict TLS authenticates the server through a pre-configured hostname. Entries without remote-hostname are recorded as opportunistic or ephemeral, depending on whether ca-file is set. The step is closed when every TLS-based zone transfer link appears in the inventory with its authentication mode.

  5. Separate TSIG and rndc keys as HMAC

    The operator lists every key statement and separates those used for TSIG and the rndc command channel from any other key material. The ARM describes these as shared secrets encoded in Base64, and the tsig-keygen and rndc-confgen man pages list HMAC algorithms such as hmac-sha256 as their options, so each entry is recorded with its algorithm and marked as a symmetric HMAC key. Any key found in a DNSSEC context is recorded separately. The step is closed when every TSIG and rndc key has an algorithm recorded and sits in its own section, apart from the asymmetric DNSSEC and TLS entries.

  6. Check deprecated algorithms and digests

    The operator searches the zone signing configuration and DS records for RSASHA1, NSEC3RSASHA1 and SHA-1 DS digest usage, since the 2025 ISC report says these were deprecated with warnings. The operator also reviews any dnssec-dsfromkey or dnssec-cds invocations in scripts. Each match is recorded with the zone it affects and the BIND version that logs the warning. The step is closed when a list of every deprecated algorithm or digest in use is written down, or a line states that none were found on the date of the check.

What ISC has not published and what to ask

ISC's published BIND material covers DNSSEC algorithms and ML-DSA-44 support, but it does not describe a shipped post-quantum roadmap or TLS hybrid key exchange. Each card below names a gap, the source checked, and the question to put to ISC before you plan an upgrade.

No shipped PQC roadmap

ISC's 2025 BIND 9 development report lists two 2025 talks by Ondrej Sury, titled PQC for DNSSEC and DNSSEC Post-Quantum Crypto Algorithms in BIND, but the report text does not describe a roadmap or a shipped PQC feature beyond ML-DSA-44. Ask ISC for a written roadmap covering DNSSEC algorithms, release timing and which branch each change will land in, and confirm whether any feature beyond ML-DSA-44 is planned for 9.20 or 9.21.

ISC 2025 report

Experimental schemes poorly suited to DNS

ISC's 16 July 2024 blog post tested experimental PQC DNSSEC changes using liboqs, including Falcon, Dilithium, SPHINCS+ and XMSS, and concluded these schemes are not well suited for the existing DNS ecosystem. Ask ISC whether that conclusion still holds for the algorithms now in BIND, and which signature sizes it considered too large for DNS responses.

ISC 2024 PQC study

No stated TLS hybrid key exchange

The BIND 9 ARM documents the tls block for DoT, DoH and zone transfer over TLS, but it does not state whether hybrid key exchange is supported or planned. Most tls options depend on the cryptographic library version and the system-wide policy, so ask ISC which TLS library versions and key exchange groups a current build negotiates, and whether hybrid groups are on the roadmap.

BIND 9 ARM

Default still ECDSAP256SHA256

The ARM states that the built-in default dnssec-policy signs a zone with a single combined-signing key using ECDSAP256SHA256 with an unlimited lifetime, so a new zone gets a classical algorithm unless the operator changes it. Ask ISC whether any change to this default is planned, and what the release notes will say if it changes, since operators with automated signing may not review each release.

BIND 9 ARM

Whether ML-DSA-44 becomes default

The 9.21.28 release notes say ML-DSA-44 (DNSSEC algorithm 18) is supported, and it requires a build against OpenSSL 3.5 or newer. The IANA registry lists it as Informational, citing an Internet-Draft, so ISC may not treat it as a stable default. Ask ISC whether ML-DSA-44 is planned as the default in a future branch, and what public key and signature sizes its zones will carry in responses.

MLDSA44 in IANA
Algorithm 18
IANA DNSSEC algorithms

What can go wrong when moving DNSSEC signatures and TLS settings

The main risk in moving BIND to stronger DNSSEC signatures is size, not a broken algorithm. The BIND 9.21.28 release notes say ML-DSA-44 (DNSSEC algorithm 18) public keys are about 1.3 KB and signatures about 2.4 KB. Those are considerably larger than the ECDSA values BIND uses by default, so responses grow, which can change packet sizes, fragmentation and how resolvers behave. Before enabling ML-DSA-44 in a dnssec-policy keys statement, confirm the resolvers and network paths that will query your zones can handle larger DNS responses, and test with a build against OpenSSL 3.5 or newer. Also note that the IANA registry lists algorithm 18 as Informational, so check the status of any specification your tooling relies on.

A second, separate change is in the HMAC keys that BIND has accepted for signing. The 9.21.27 release notes say BIND no longer accepts HMAC keys and signatures for SIG(0) or DNSSEC, because HMAC algorithms meant only for TSIG had been accepted by oversight. Any zone or SIG(0) setup that depended on those HMAC keys will stop working on upgrade. Inventory the key statements and SIG(0) configurations, and confirm which algorithms they use before upgrading past 9.21.27.

TLS settings in the tls block have a different failure mode. The ARM says most tls options have no well-defined default because they depend on the cryptographic library version and the system-wide cryptographic policy. Two servers running the same BIND release can therefore negotiate different behavior. Record the library version and crypto policy on each host, and set protocols, ciphers and cipher-suites explicitly rather than relying on defaults.

Forward secrecy needs its own check. The ARM says dhparam-file supplies the Diffie-Hellman parameters needed for DHE cipher suites, which it calls essential for perfect forward secrecy in TLSv1.2, and that session-tickets controls RFC 5077 resumption and may need to be disabled where forward secrecy is required. Confirm both settings on every DoT, DoH and zone transfer endpoint.

Opportunistic TLS needs a clear decision as well. The ARM says that when remote-hostname and ca-file are unset, TLS encrypts without authenticating the peer. Traffic is protected from passive observers, but a man-in-the-middle is not detected. Where authentication matters, such as zone transfers to a secondary, configure strict TLS with a pre-configured hostname and a ca-file, and test that the peer certificate validates before relying on the link.

Questions engineers and vendor-risk reviewers ask about BIND key dependencies

Is BIND quantum safe?

No product or configuration of BIND can be called quantum safe on the basis of the supplied facts. What is supported is narrower: BIND 9.21.28 and 9.20.31 can generate, sign and validate DNSSEC zones with ML-DSA-44 (DNSSEC algorithm 18), but only in builds against OpenSSL 3.5 or newer and only when an operator chooses that algorithm explicitly. The default DNSSEC policy still uses ECDSAP256SHA256, which is not post-quantum. The TLS paths for DoT, DoH and zone transfers depend on whichever TLS library the build uses, and the facts do not document any post-quantum key exchange for them. Confirm the TLS library and its version in your own build before answering a questionnaire.

Which BIND version is needed for ML-DSA-44?

ML-DSA-44 is supported in BIND 9.21.28 and 9.20.31 according to the release notes for those versions. The release notes state that it requires BIND to be built against OpenSSL 3.5 or newer, so the library version matters as much as the BIND version. Check the build with your package manager or the output of named -V, and confirm that the OpenSSL it links against is 3.5 or later. Packages from Linux distributions may be built against older OpenSSL releases even when the BIND version is recent, so confirm the binary you actually run. The facts do not state which distribution packages include this support.

Does the default BIND configuration use public keys?

Yes. The BIND 9 ARM states that the built-in default dnssec-policy signs a zone with a single combined-signing key using ECDSAP256SHA256, which is a public-key algorithm, and that the zone-level dnssec-policy option defaults to none. So a zone signed under the default policy uses an elliptic-curve public key. Zones without a dnssec-policy statement are not signed by named at all. Any zone that is signed by BIND carries public keys, and an inventory should list each signed zone with its policy name and algorithm.

Do TSIG keys need to be replaced for post-quantum migration?

The facts indicate that TSIG keys are not public-key material. The BIND 9 ARM describes the key statement as a shared secret for TSIG or the rndc command channel, with the secret stored as a Base64-encoded string, and the man pages list only HMAC algorithms for TSIG. Shared HMAC secrets are a different category from RSA or elliptic-curve keys, so they are not the subject of the public-key inventory in the same way. Still, confirm the key lengths and algorithms in your own configuration, since tsig-keygen defaults to hmac-sha256 and rndc-confgen -b allows key sizes from 1 to 512 bits. The facts do not document any post-quantum guidance for TSIG, so treat any statement on that point as a question to ask ISC.

Does enabling ML-DSA-44 in BIND add cost?

The supplied facts give no price for enabling ML-DSA-44, and they do not state whether any license, subscription or hardware change is needed. The software is open source under the MPL 2.0 license, and ISC sells paid support subscriptions, so a support contract is one possible cost, but the facts do not say whether those subscriptions cover this feature. The larger practical cost is operational. ML-DSA-44 public keys are about 1.3 KB and signatures about 2.4 KB according to the 9.21.28 release notes, so zone sizes, response sizes and resolver and network behavior should be tested before a change. Ask your ISC contact or reseller for written confirmation of what is covered.

Can our team inventory BIND key dependencies ourselves, or do we need outside help?

Your team can do much of the inventory alone, because the facts point to specific places to look. List every zone with a dnssec-policy statement, record the algorithm each policy uses, and note whether the build is linked against OpenSSL 3.5 or newer. Review the key statements and the tls, http and primaries blocks in named.conf to find TSIG keys, DoT, DoH and zone transfer settings. Some items need the TLS library version and the distribution's build details, which are harder to verify without access to the packaging. DeployOpen's security testing and compliance readiness work can support that review, and an engagement would be scoped in writing before work starts. Any output that an auditor needs must come from the auditor, since DeployOpen does not issue audit reports or certifications.

Does BIND use public keys for zone transfers and DNS over TLS?

The protocols that carry public-key cryptography in BIND are the TLS connections, which use certificates and key exchange from the underlying TLS library. The BIND 9 ARM says the tls block configures DoT, DoH and zone transfer over TLS, with options such as key-file, cert-file, ca-file and dhparam-file. The ARM notes that most tls options have no well-defined default because they depend on the library version and the system cryptographic policy. Strict TLS authenticates the server through a configured hostname, while the ephemeral and opportunistic modes encrypt without authentication. Check which of these modes each zone transfer and listener uses, since the facts do not document a post-quantum key exchange for any of them.

How DeployOpen works on this

DeployOpen approaches the RSA and elliptic-curve dependencies in BIND by first mapping which DNSSEC keys, TLS settings and TSIG or rndc secrets a deployment actually uses. The output is a written inventory that security leads can review before any change to signing policy or transport configuration is made.

How we scope

  • Scope is agreed in writing before work starts, listing the zones, dnssec-policy statements and tls blocks in the deployment.
  • We confirm the BIND version and whether the build uses OpenSSL 3.5 or newer, since that determines which DNSSEC algorithms are available.
  • The scope names which zones, resolvers and transfer paths are included, so the inventory has a defined boundary for review.

How we build

  • We record each zone's current algorithm, key sizes and DS digest type, including any deprecated RSASHA1 or SHA-1 settings.
  • We review tls options such as dhparam-file, session-tickets and cipher lists for DoT, DoH and zone transfers over TLS.
  • We separate DNSSEC signing keys from TSIG and rndc HMAC secrets, since ISC documents the latter as symmetric shared secrets.

How we hand over

  • The handover includes a dated inventory listing each public-key dependency, its BIND setting and the file or statement where it lives.
  • We document which changes would be configuration only and which would require a version or library change, for your change board.
  • Findings are written so a security lead can check each entry against the ARM and the installed BIND release notes.

How we support

  • Ongoing support and retesting are available as a retainer, so the inventory can be refreshed when BIND versions change.
  • We can repeat the review after a planned upgrade, such as a move to a newer 9.20 or 9.21 release, to confirm settings still match.
  • Support questions about the inventory are answered against the version and configuration you run, not against general guidance.

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.