What DNS proxying means in Bridge DNS
DNS proxying in Bridge DNS is a per-record choice. Each A and AAAA record carries a proxy switch:
- On. Bridge publishes the address of its edge instead of yours. Browsers connect to the edge, and the edge connects to your origin server.
- Off. The record behaves like plain DNS anywhere else. Resolvers get your IP, and visitors connect straight to it.
The switch doesn't change the record's name or its place in the zone. It changes who answers the HTTP request that follows the lookup.
One practical bonus: when you move the website to a new machine, you update the origin address in Bridge and the public answer stays the same. Resolvers can continue to use the cached edge address. Changes to proxied records reach the edge in seconds.
How a request travels through a proxied record
Here's the full path for shop.example.com, proxied, with the origin at 203.0.113.10:
- Lookup. A visitor's recursive resolver asks Bridge's authoritative DNS for
shop.example.com A. The answer is an edge address, not203.0.113.10. - Connection. The browser opens an HTTPS connection to the edge. The edge presents a certificate for
shop.example.com, issued automatically. - Forwarding. The edge connects to your server using the origin settings: protocol, port, Host header, TLS checks.
- Response. Your server answers the edge, and the edge answers the browser.
With a DNS-only record, steps 2 to 4 collapse into one. The browser connects to 203.0.113.10 directly, and Bridge isn't in the traffic path at all.
Proxied vs DNS only: which setting for which name
Proxy the names people open in a browser. Leave everything else DNS-only.
| What the name is for | Setting | Why |
|---|---|---|
Website at the apex (example.com) |
Proxied | Hides the server, adds managed HTTPS |
www, shop, blog, api over HTTP(S) |
Proxied | Same reasons, per name |
| Mail server (target of your MX) | DNS-only | Mail isn't web traffic |
| SSH, FTP, VPN, game or database hosts | DNS-only | Non-HTTP protocols |
| Names used for third-party verification | DNS-only | The verifier needs your real value |
| Staging hosts you reach by IP allowlist | DNS-only or proxied with care | Depends on how you restrict access |
A rule of thumb from support tickets: if a proxied name stops working and it isn't a website, it probably shouldn't be proxied.
Which record types can be proxied?
Only A and AAAA records can be proxied. Those are the types that carry an IP address, and the proxy works by swapping that address for the edge.
CNAME, MX, TXT, CAA, SRV and the rest are always DNS-only. A CNAME can resolve to the edge through a proxied target, but the alias itself has no proxy switch. An MX target should never be proxied: mail servers would end up talking to a web edge.
For syntax and examples, see A record setup and AAAA record setup.
How to configure the origin
Origin settings appear in the zone as soon as at least one A or AAAA record is proxied.
Origin address
The proxied A or AAAA record's value is the origin IP. Bridge connects there while publishing the edge address for that record. Several names can point at the same server.
Custom port
You set separate ports for HTTP and HTTPS to the origin, anywhere from 1 to 65535. That makes it easy to run several apps on one machine. For example, shop, blog and api on example.com can reach one server on 8443, 9443 and 8080.
Host header
The edge sends the record name as the Host header by default. If your server expects a different virtual host, override it per name. A common case: the public name is shop.example.com, while the app listens as shop.internal.example.
TLS between edge and origin
Choose HTTPS or HTTP for the edge-to-origin leg. "Force HTTPS to origin" keeps that leg encrypted. When certificate verification is enabled, the edge rejects an invalid origin certificate and verifies it against the per-name Host header override if one is set. Turn it on once the origin has a proper certificate, and you're protected against someone answering in your server's place.
The visitor-facing certificate is separate. Bridge issues it automatically for proxied names, apex and wildcard included, using ACME DNS-01 validation against Bridge DNS (RFC 8555). There's no certificate to upload.
A complete example, as it appears on our site: edge → https://203.0.113.10:8443, Host shop.internal.example, certificate verified.
Can a proxy hide the origin IP completely?
A proxy hides the origin IP from DNS. It can't erase what was published before or what leaks through other channels. These are the usual ways an address escapes:
- DNS history. If the name was DNS-only last year, passive-DNS databases still remember the IP.
- DNS-only records on the same server. A
mail.example.comorftp.example.compointing at203.0.113.10gives it away. - Certificates and scans. Internet-wide scanners connect to every IPv4 address. If your server returns a certificate for
example.comto anyone who asks, it can be matched. Certificate transparency logs add the hostnames. - Outgoing traffic. Emails sent from the web server, webhooks and callbacks reveal its IP in headers or logs.
So, to hide origin IP addresses properly:
- Move the site to a new IP after you enable the proxy.
- Keep mail and other services on a different address.
- If you have the applicable Bridge edge IP ranges, configure your origin firewall to accept web traffic only from those ranges.
With the firewall in place, a leaked address is useless to anyone who isn't the edge.
How to test a proxied path
You need two tools, dig and curl. Check DNS first. A proxied name should return an edge address, not your server:
dig shop.example.com A +short
dig @ns1.bb-ns.com shop.example.com A +short
Then test the full path through the edge:
curl -sI https://shop.example.com/
Finally, test the origin directly with the same Host header the edge sends:
curl -sI --resolve shop.internal.example:8443:203.0.113.10 https://shop.internal.example:8443/
The site works directly but fails through the edge? The usual suspects are the port, the Host header, or certificate verification. The direct request fails too? The problem is on the server.
DNS proxy, reverse proxy and recursive resolver: three different things
Search for "DNS proxy" and you'll find three unrelated products under one name.
- A reverse proxy sits in front of web servers and answers HTTP requests for them. The Bridge edge works as one, and a proxied record is how DNS sends visitors to it.
- A DNS proxy on a router or firewall forwards DNS queries from a local network to an upstream resolver, sometimes with filtering. It's a recursive resolver role and has nothing to do with your zone.
- Smart DNS services answer lookups for streaming sites with their own servers to change apparent location. They're consumer resolvers too.
Bridge doesn't offer a public recursive resolver or a smart DNS service. When we say DNS proxying, we mean the per-record switch that puts your website behind the edge.
DNS hosting and CDN: different jobs, one delegation
Authoritative DNS answers "where is this name?" A CDN answers the HTTP request that comes next. Many sites buy them from two companies and connect them with a CNAME to the CDN's hostname.
In Bridge, the two jobs share one delegation. The zone and the edge belong to the same system, so the proxy switch is all the wiring you need. An A or AAAA record at the apex has the same proxy switch. If you keep part of a site on another CDN, point that subdomain at it with a DNS-only CNAME.
Questions about proxied and DNS-only records
What is the difference between proxied vs DNS only?
A proxied record answers with the Bridge edge address and sends web traffic through the edge to your server. A DNS-only record answers with your own IP address, and visitors connect to it directly. Only A and AAAA records can be proxied.
Does a proxied record hide my origin IP?
It keeps the IP out of public DNS. Old DNS history, other records on the same address and internet scans can still reveal it, so move to a fresh IP and firewall the server to accept traffic only from the edge.
Should I proxy my mail server?
No. Keep the MX target and any mail hostnames DNS-only. The proxy carries web traffic, and mail servers expect to reach your mail host directly.
Which ports can the origin use?
Any port from 1 to 65535, set separately for HTTP and HTTPS. Several proxied names can reach one server on different ports, each with its own Host header.
Do I need my own certificate?
Not for visitors. Bridge issues certificates for proxied names automatically, apex and wildcard included. For the edge-to-origin leg, a valid certificate on your server lets you turn on "Verify origin certificate".
Does the TTL matter for proxied records?
The TTL still applies to the public edge address. If that address stays the same when you move your server, resolvers can continue to use it. TTL matters for DNS-only records, which you can read about in the guide to TTL values.
When should a record stay DNS-only?
When the name isn't a website: mail, SSH, VPN, game servers, databases, and anything a third party must verify against your real value. When unsure, proxied vs DNS only is decided by the protocol, not by the domain.
More step-by-step articles are in the setup guides.