Itnetic logo Itnetic Technologies
PlatformLogsNetworkPricing
Log inStart free
PlatformLogsNetworkPricing
Log inStart free

Learn · Origin hardening

How to hide your origin IP address.

DDoS mitigation only works if your server cannot be reached any other way. An exposed origin IP is the most common reason protection is in place and the site still goes down.

Updated July 26, 2026 · Itnetic team — reviewed by Petr Chlíbek, founder

Key takeaways

  • An exposed origin IP lets attackers skip your mitigation edge entirely and flood the server directly — your dashboard stays green while the site is down.
  • Origin addresses leak through DNS history, unproxied subdomains, certificate transparency logs, email headers and outbound connections from your app.
  • Hiding the address is not enough: the fix that actually holds is a firewall that accepts traffic only from your mitigation network.
  • Rotate the IP after enabling protection if it was ever public — passive DNS archives remember yesterday’s A record forever.

Why a hidden origin matters

DDoS mitigation works by standing in front of your server. Traffic arrives at a filtering edge first, attack traffic is dropped there, and only clean requests are forwarded to you. That design carries one hard requirement: the internet must not be able to reach your server any other way.

If your origin's real IP address is discoverable and still accepts connections from anywhere, an attacker simply aims at it directly. The mitigation network never sees a single packet of that attack. Your protection dashboard stays quiet, every graph looks normal, and your site goes down anyway.

This is the most common reason people conclude that protection "does not work." It is almost never a filtering failure. It is an unlocked back door.

How attackers find your origin IP

Assume the address is findable unless you have actively closed each of these paths.

  • DNS history — passive DNS archives store the A records your domain published before you enabled protection. Turning on a proxy today does not erase yesterday's answer, and those archives are searchable for years.
  • Unproxied subdomains — mail, ftp, cpanel, webmail, direct, dev, staging, vpn. A single record pointing straight at the machine gives away the host, and usually the whole address range it lives in.
  • Certificate Transparency logs — every publicly trusted TLS certificate is written to a public, permanently searchable log. Hostnames you assumed were private, like a staging subdomain, become a list an attacker can resolve one by one. Certificate Transparency is searchable by design; that is the point of it.
  • Email headers — a password reset or order confirmation sent by the application server carries that server's IP address in the Received headers. Anyone who can trigger a signup email gets your origin.
  • Outbound connections — webhooks, link preview fetchers, avatar and image importers, PDF renderers, callback URLs. If an attacker can make your app fetch a URL they control, your origin connects out and identifies itself.
  • Default virtual host — if your server answers requests carrying an unknown Host header with your real site, internet-wide scanners can match that response to your domain by page content or favicon hash and publish the mapping.
  • Leaky application output — stack traces, health and status endpoints, verbose response headers, and hardcoded absolute URLs in HTML or JavaScript that point at the origin hostname instead of the public one.

The lockdown checklist

StepWhat to doWhy it matters
1Rotate the origin IP after enabling protectionRetires every address already recorded in DNS history and scanner databases
2Firewall the origin to your mitigation network onlyThe only measure that survives your address being discovered
3Proxy every public DNS recordRemoves the direct pointers attackers look for first
4Send mail through a separate providerStops transactional email from broadcasting the server's address
5Reject unknown Host headersBlinds internet-wide scanners that fingerprint by response content
6Authenticate traffic from the edgeEnsures a leaked address still cannot serve your site to anyone else
7Clean up application outputCloses the slow leaks: traces, health pages, absolute URLs

Step 2 is the one that matters most. Secrecy is a delay tactic — addresses get discovered eventually, and you will not know when it happens. A firewall rule that accepts traffic only from your mitigation network's ranges turns discovery into a non-event: the attacker finds the address, connects to it, and gets nothing. Ask your provider for the ranges to allowlist and treat that list as part of your deploy configuration, not a one-off manual change. Ours are available on request through contact.

Step 6 closes the remaining gap. Even with an allowlist, requests from inside a large shared mitigation network can reach you unless the origin verifies which tenant they belong to. Client certificates or a secret header the origin requires on every request are the two usual answers, both cheap to add at the web server level.

How to verify the door is actually shut

Do not assume. Check, and re-check after every infrastructure change:

  • Request your site directly by IP address and confirm you get a timeout, a connection refusal, or a default response — not your homepage.
  • Enumerate every record in your DNS zone, subdomains included, and look for anything resolving into your server's range. Mail records are the usual survivor.
  • Search Certificate Transparency for your domain, then resolve each hostname it returns.
  • Trigger a transactional email to yourself and read the raw headers for your server's address.
  • Compare your origin's access log against your edge's request logs. Requests present at the origin but absent at the edge are direct hits — proof of a bypass, and the fastest way to find one before an attacker does.
  • After rotating an IP, re-check passive DNS a few weeks later to confirm the old address is no longer associated with your domain.

Where Itnetic fits

Itnetic filters Layer 7 attacks at edge points of presence close to your visitors, and the pieces this checklist depends on are part of the product rather than an upgrade: per-request logs you can diff against your origin's own log to catch bypass traffic, alerts when a domain enters attack mode, and attack traffic that is never metered against your bandwidth quota.

Getting behind the edge takes two DNS records and about five minutes — see DDoS protection. Lock the origin down in the same session, while you are already in the firewall console; it is the half of the job that never gets scheduled later. If you are reading this mid-incident, start with how to stop a DDoS attack instead.

FAQ

Quick answers

Does hiding my origin IP stop DDoS attacks by itself?

No. Obscurity buys time, not protection — addresses leak through DNS history, email and outbound connections, and you rarely find out when it happens. What actually stops a direct attack is a firewall on the origin that accepts traffic only from your mitigation network. Treat hiding the address as step one of two.

Do I need a new IP address after enabling DDoS protection?

Yes, if the old address was ever publicly resolvable. Passive DNS archives and internet scanners keep historical records for years, so an address that was public before you enabled protection stays a valid target afterwards. Ask your host for a fresh IP, then firewall it before pointing traffic at it.

Can attackers still find my origin if every DNS record is proxied?

Sometimes. Proxying closes the easiest path but not the indirect ones: transactional email sent from the app server, webhooks and link fetchers that make your origin connect outward, certificate transparency logs listing staging hostnames, and scanners matching your page content on an unknown Host header. This is exactly why the origin firewall matters more than the secrecy.

Will locking down my origin firewall break anything?

It can, so inventory legitimate direct traffic first: uptime monitors, deploy pipelines, backup jobs, webhook senders, payment provider callbacks and SSH access. Allowlist those explicitly, or move health checks so they run through the edge like everyone else. Roll the rule out in logging mode first if your firewall supports it.

How do I stop email from leaking my server IP address?

Send transactional mail through a dedicated email provider so messages never originate from the web server, and keep mail DNS records off the origin address. If mail must be sent from the same machine, configure the mail server to relay through the provider so its address, not yours, appears in the Received headers.

Keep reading

01

What is a DDoS attack?

A distributed denial-of-service (DDoS) attack overwhelms a website or API with traffic from many machines at once, until real visitors can no longer get through.

02

What is a Layer 7 DDoS attack?

Layer 7 (application-layer) DDoS attacks imitate legitimate visitors instead of flooding the network — which is exactly why traditional defenses miss them.

03

How to stop a DDoS attack on your website.

A practical, ordered checklist for the moment your site goes down — and for making sure the next attack never reaches it.

04

What is DDoS mitigation?

DDoS mitigation is the process of spotting attack traffic and dropping it before it reaches the resource an attacker is trying to exhaust — bandwidth, connections, or your application itself.

05

What is a CDN?

A content delivery network (CDN) stores copies of your website on servers around the world, so every visitor is served from the location nearest to them.

Protect my website freeHow our protection works
Itnetic logo Itnetic Technologies

Advanced DDoS mitigation and web performance solutions for modern businesses. Protect your infrastructure across multiple regions.

Product

  • DDoS Mitigation
  • Web CDN
  • Network
  • Pricing

Resources

  • Learn
  • Changelog
  • FAQ
  • Status

Company

  • Founder
  • Contact
Petr ChlíbekIČO: 21210756Neplátce DPH
© 2026 Itnetic Technologies. All rights reserved.
Terms of ServicePrivacy PolicyCookie PolicyDPA

We use essential cookies to run and secure the site. With your consent we also use Google Analytics to understand usage. Cookie Policy