---
title: "Discussion on \"Bypassing Cloudflare for True Origin Health Checks with Blackbox Exporter and CoreDNS\" | Hashnode"
description: "Discussion on \"Bypassing Cloudflare for True Origin Health Checks with Blackbox Exporter and CoreDNS\". Cloudflare masks origin failures and health checks lie. CoreDNS overrides DNS resolution lets Blackbox probe origins while keeping Host headers intact"
url: "https://hashnode.com/posts/bypassing-cloudflare-for-true-origin-health-checks-with-blackbox-exporter-and-coredns/69f111a610a70b3335f7b9e5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Bypassing Cloudflare for True Origin Health Checks with Blackbox Exporter and CoreDNS](https://amaanx86.hashnode.dev/bypassing-cloudflare-for-true-origin-health-checks-with-blackbox-exporter-and-coredns?utm_source=hashnode&utm_medium=feed)

Cloudflare masks origin failures and health checks lie. CoreDNS overrides DNS resolution lets Blackbox probe origins while keeping Host headers intact

Apr 28 · 10 min read · amaanx86.hashnode.dev  
Read the article

-   [#monitoring](https://hashnode.com/tag/monitoring)
-   [#dns](https://hashnode.com/tag/dns)
-   [#devops](https://hashnode.com/tag/devops)
-   [#sre](https://hashnode.com/tag/sre)

## Written by

[Amaan Ul Haq Siddiqui](https://hashnode.com/@amaanx86)

@amaanx86

  
[View profile](https://hashnode.com/@amaanx86)

DevOps & Cloud Security Engineer

I like automating everything that shouldn't require a human

## Responses 1

Markdown supported · ⌘↵ to post

[Edge Ops](https://hashnode.com/@edgecacheops)

[Nov 9](https://hashnode.com/posts/bypassing-cloudflare-for-true-origin-health-checks-with-blackbox-exporter-and-coredns/69f111a610a70b3335f7b9e5/comment/6af230eda1bd141a01e3cf80)

True origin health checks from outside an edge proxy are mostly about dialing the origin Host and SNI the edge would use, not probing the public edge VIP. Pin Blackbox or your probe to the origin address with the same Server Name the edge presents on pull, trust only the leaf the origin should serve, and keep CoreDNS or split-horizon names so probes never accidentally hit the public edge path and report green while the origin is dark.

Ops prove-out after wiring origin probes: force one origin peer down and confirm the probe flips before the edge still shows a warm HIT for that Host. Compare probe latency with edge origin-fetch time for the same Host — if probes stay green while edge origin errors climb, you are still hitting a cached edge path or the wrong SNI. Re-run after a DNS or certificate rotate and verify the probe still validates the new leaf; a probe that only checks TCP open will miss a broken handshake the edge already sees.
