The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / bind-dns / bind-dns-tsig-badkey-transfer ▌

Operations Guides

BIND TSIG failure on zone transfer: BADKEY, BADTIME, and refused transfers

Zone transfers between your BIND primary and secondary have stopped. The secondary is falling behind on SOA serial, and the logs show TSIG verification failures: BADKEY, BADTIME, or BADSIG. The transfer is refused, and the secondary silently drifts toward zone expiry.

The failure hides in the security and xfer-in logging categories, not in the main query path. A secondary can serve stale data for days or weeks until the SOA expire timer runs out, at which point it stops serving the zone entirely and returns SERVFAIL. Nothing alerts until the zone disappears.

This article covers how to distinguish TSIG failures from ACL refusals and network issues, how to reconcile keys and clocks, and how to monitor the signals that give early warning.

How TSIG validation works

TSIG (Transaction SIGnature) is a shared-secret HMAC authentication mechanism defined in RFC 2845. It signs zone transfer requests (AXFR/IXFR), NOTIFY messages, and dynamic DNS updates. The sender computes an HMAC over the DNS message using a key that both sides share and includes a timestamp. The receiver recomputes the HMAC, compares, and checks the timestamp against its own clock within a configurable fudge factor.

When validation fails, BIND returns a TSIG extended error code:

  • BADKEY: The key name or algorithm in the request does not match any key the receiver has configured. Usually caused by one-sided key rotation or a key name string that does not match exactly between primary and secondary configurations.
  • BADTIME: The key is recognized, but the timestamp differs from the receiver’s clock by more than the fudge factor (default 300 seconds). This ties zone transfer health to NTP synchronization, just as DNSSEC validation depends on accurate time.
  • BADSIG: The key is recognized and the timestamp is within fudge, but the HMAC does not verify. Usually indicates a corrupted key secret or an algorithm mismatch.

A TSIG failure is not the same as a transfer refused by an ACL. Both produce a REFUSED rcode at the DNS level, but the TSIG error code in the response distinguishes them. You need the xfer-in and security log categories to see which one is happening.

flowchart TD
    A["Transfer refused"] --> B{"TSIG error in logs?"}
    B -- "Yes" --> C{"Which error code?"}
    B -- "No" --> D["Check allow-transfer ACL
and TCP/53 connectivity"] C -- "BADKEY" --> E["Key name mismatch or
one-sided rotation"] C -- "BADTIME" --> F["Clock skew beyond fudge"] C -- "BADSIG" --> G["Algorithm mismatch or
corrupted secret"] E --> H["Reconcile key definitions
on both servers"] F --> I["Verify NTP sync
on both servers"] G --> J["Verify algorithm string
and re-exchange secret"] H --> K["rndc retransfer zone"] I --> K J --> K

Common causes

CauseWhat it looks likeFirst thing to check
Key name mismatchBADKEY in xfer-in logs; key name in key block differs between primary and secondaryCompare key names in named.conf on both servers
One-sided key rotationBADKEY appears after a key change; one server has the new key, the other still has the oldCheck named.conf key blocks and include files on both sides
Clock skew beyond fudgeBADTIME in xfer-in logs; transfers work intermittently or fail at specific timesCheck timedatectl status or chronyc tracking on both servers
Wrong algorithm stringBADKEY or BADSIG; key defined with different HMAC algorithm (e.g., hmac-sha256 vs hmac-sha512)Compare the algorithm field in the key block on both sides
BIND 9.20 allow-transfer defaultTransfer refused with no TSIG error; upgrade from 9.18 to 9.20 broke transfersCheck for explicit allow-transfer ACL in the zone or options block
TCP/53 blocked by firewallTransfer refused or times out; no TSIG error; UDP queries work fineTest dig @primary zone AXFR from the secondary
also-notify TSIG key lost on retryTransfer eventually succeeds but NOTIFY-triggered transfer fails on TCP retry after UDP failureCheck if BIND version is affected by GitLab issue #6240

Quick checks

Safe, read-only commands. Run on both primary and secondary for comparison. Config paths and unit names vary by distribution: /etc/named.conf and named on RHEL/Fedora, /etc/bind/named.conf and bind9 on Debian/Ubuntu.

# Compare SOA serial between primary and secondary
dig @primary-ip example.com SOA +short
dig @secondary-ip example.com SOA +short

# Check transfer-related logs on the secondary
journalctl -u named --since "1 hour ago" | grep -iE "transfer|tsig|badkey|badtime"

# Check clock synchronization on both servers
timedatectl status
chronyc tracking 2>/dev/null

# Check zone status and timing on the secondary
rndc zonestatus example.com

# Verify allow-transfer configuration
named-checkconf -p | grep -i "allow-transfer"

# Test TCP connectivity on port 53 from secondary to primary
# A REFUSED response means TCP is open but auth/ACL blocked the transfer
# A timeout means TCP/53 is blocked by a firewall
dig @primary-ip example.com AXFR +time=5

# Check key definitions on both servers
# WARNING: prints key secrets in cleartext
named-checkconf -p | grep -A5 'key "'

# Verify BIND version for known TSIG bugs
named -V | head -5

How to diagnose

  1. Confirm the transfer is actually failing. Compare SOA serials between primary and secondary. If they differ and have been different for longer than the SOA refresh interval, transfers are failing or delayed.

  2. Check the xfer-in logs on the secondary. This is where BIND records transfer attempts and their outcomes. Look for TSIG error codes: badkey, badtime, or badsig. The security logging category also captures authentication failures.

  3. Distinguish TSIG failure from ACL refusal. If there is no TSIG error in the logs but transfers are refused, the problem is the allow-transfer ACL or network connectivity. On BIND 9.20, allow-transfer defaults to none, so an explicit ACL is required for outgoing transfers.

  4. If BADKEY: compare key definitions. The key name, algorithm, and secret must match exactly on both servers. Check the key block in named.conf and any included files. The key name string is the most commonly mismatched element.

  5. If BADTIME: check clock synchronization. Run timedatectl status or chronyc tracking on both servers. The default fudge is 300 seconds; a clock skew beyond 5 minutes causes rejection. NTP must be running and synchronized on both sides.

  6. If BADSIG: verify the algorithm and secret. Confirm both sides use the same HMAC algorithm string (e.g., hmac-sha256). If the key was copied manually, check for transcription errors or line-wrapping in the base64 secret.

  7. Check the SOA expire runway. Run rndc zonestatus <zone> on the secondary and check zone timing information. Compare the time since the last successful transfer against the SOA expire value. If the gap is approaching expiry, the secondary will stop serving the zone soon.

  8. Force a transfer after fixing. Run rndc retransfer <zone> on the secondary. This forces a full AXFR regardless of serial, which can be resource-intensive for large zones. Verify the SOA serial converges.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
SOA serial consistencyPrimary indicator of transfer healthSecondary serial lags primary beyond the SOA refresh interval
SOA expire runwayCountdown to zone removal on the secondaryRemaining time drops below 25% of SOA expire value
Transfer log entries (xfer-in)Captures TSIG error codes and transfer outcomesBADKEY, BADTIME, or BADSIG appears in logs
NTP clock offsetRoot cause of BADTIME failuresOffset exceeds 30 seconds on either server
UpdateFail counterTSIG failures also affect dynamic DNS updatesSustained increase after a key change
Zone transfer counters (XfrSuccess, XfrFail)Aggregate transfer success and failure rateXfrFail increasing while XfrSuccess is flat or zero

Fixes

BADKEY: reconcile key definitions

The key name, algorithm, and base64-encoded secret must be identical on both servers. Copy the key block from one server to the other to eliminate transcription errors.

# Extract the key block from one server
named-checkconf -p | grep -A5 'key "transfer-key"'

# After updating named.conf on the other server, validate
named-checkconf

# Reload configuration on both servers
rndc reconfig

If keys were rotated as part of a security process, ensure the rotation was applied to both sides. A common operational mistake is updating the primary during a key rotation and forgetting the secondaries.

BADTIME: fix clock synchronization

Correcting NTP is the only reliable fix. Chrony is the standard on modern Linux.

# Check current sync status and offset
chronyc tracking

# Verify chronyd is running and enabled
systemctl status chronyd

# Force immediate sync if offset is large
# WARNING: steps the clock, which can disrupt TLS, database,
# and logging services on the same host
sudo chronyc -a makestep

The default TSIG fudge is 300 seconds. BIND’s key statement exposes only the key name, algorithm, and secret; it has no per-key fudge setting in named.conf.

BIND 9.20 allow-transfer default

If you upgraded from BIND 9.18 to 9.20 and transfers stopped, check for an explicit allow-transfer statement. Starting with BIND 9.20.0, the default changed to none, meaning outgoing transfers are disabled unless explicitly configured. In BIND 9.18, the default allowed transfers to all hosts.

# Check if allow-transfer is configured
named-checkconf -p | grep allow-transfer

# If missing, add it to the zone or options block, referencing the TSIG key:
# allow-transfer { key "transfer-key"; };

TCP/53 blocked

Zone transfers use TCP on port 53. A firewall that allows UDP/53 but blocks TCP/53 breaks transfers while normal queries continue to work. Test from the secondary:

# Test TCP connectivity to the primary
dig @primary-ip example.com SOA +tcp +time=5

If this times out while UDP works, check firewall rules between primary and secondary.

also-notify TSIG key loss on retry

If NOTIFY-triggered transfers fail intermittently but manual rndc retransfer works, you may be hitting GitLab issue #6240, where the explicit TSIG key on an also-notify target is lost during the TCP retry after a failed UDP NOTIFY. The retry uses only a matching server peer key, or is sent unsigned if no peer key exists. This delays zone convergence. As of this review, the issue is open and no released patch has been identified.

Workaround: define a matching server block with a keys statement for the also-notify target, so the TCP retry has a key to use even when the explicit key is dropped.

Prevention

  • Distribute keys from a single source. Store TSIG keys in configuration management and deploy to both primary and secondaries atomically. Never edit key files manually on one server at a time.

  • Monitor NTP offset on all DNS servers. Clock drift causes BADTIME and DNSSEC validation failures. Alert when offset exceeds 30 seconds.

  • Track SOA serial consistency continuously. Compare serials between primary and every secondary on a schedule. Any mismatch persisting beyond the SOA refresh interval indicates a transfer problem.

  • Track SOA expire runway. The real danger is not serial mismatch alone but the countdown to zone expiry. Alert when remaining runway drops below 50% of the SOA expire value, and escalate at 25%.

  • Validate configuration before reload. Run named-checkconf before every rndc reload or rndc reconfig. A syntax error in a key block silently breaks transfers.

  • Test transfers after key changes. After any key rotation or configuration change, run rndc retransfer <zone> on the secondary and verify serial convergence within minutes.

How Netdata helps

  • NTP clock offset monitoring catches the drift that causes BADTIME before it exceeds the TSIG fudge window. Correlating clock offset with transfer failures pinpoints the root cause.

  • SOA serial consistency tracking flags any mismatch between primary and secondary within minutes, long before the expire countdown becomes dangerous.

  • SOA expire runway monitoring converts the slow-motion transfer failure into a clear countdown signal, so you know how much time remains before the secondary stops serving the zone.

  • Log correlation surfaces TSIG error codes from the xfer-in and security logging categories alongside metrics, so BADKEY, BADTIME, and BADSIG are visible in the same view as serial mismatch and clock drift.

  • Process and resource monitoring for named ensures transfer failures are not caused by resource exhaustion (file descriptors, memory, TCP connection limits) that would otherwise be invisible in BIND’s own statistics.