Connect your DNS
Before Neti can protect a service, the domain has to point at Neti: the public DNS record for the name must resolve to the address of your Neti server, so that visitors reach Neti first and Neti forwards the clean traffic to your backend. This page is the prerequisite for every other guide in this section.
There are two ways to do it. Use the first when your domain is on a provider Neti can drive through its API; use the second for any other provider.
Two ways to point a domain
- Through a provider Neti manages (recommended) — Cloudflare or OVH. You give Neti a token, and Neti creates and moves the records for you and issues the certificate over DNS. No copy-paste of records.
- A manual
Arecord — at any other provider you create one record by hand and let Neti obtain the certificate over HTTP, or you upload your own.
Through a provider Neti manages
Add the DNS zone in the console under DNS, then connect it:
- Cloudflare — create an API token scoped to the zone and paste it in (Cloudflare, how to add a Cloudflare zone). You can keep Cloudflare's proxy on, so its edge sits in front of Neti; Neti then refuses any request that does not come from Cloudflare (edge blocking).
- OVH — create the API keys for the zone's region and paste them in (OVH, how to add an OVH zone).
With the zone connected, when you add the service in Routing Neti writes the
A record to its own address and issues the certificate over
DNS — which also works for a wildcard and before the name is public.
A manual A record
If the domain is somewhere Neti does not manage, point it by hand:
- at your DNS provider, create (or change) the
Arecord for the name so it resolves to the IP address of your Neti server; lower the record's TTL first if you want the change to take effect quickly; - add the service in Routing and choose External / manual for the DNS step;
- get the certificate over HTTP (Let's Encrypt validates on port 80, so the record must already resolve to Neti), or upload a certificate you already have (PFX/PEM, internal CA included).
Check it worked
- In Routing the service shows that the name resolves to Neti.
- Opening
https://your-domainshows a valid padlock and reaches your backend through Neti. - Live analysis starts to show the service's traffic.
Once the padlock is green and the service is live, go to the guide for your traffic profile on Protect your product.
Good to know
- A certificate over HTTP needs the record pointing at Neti before you ask for it; a certificate over DNS does not, which is why the API route is smoother for a new name.
- Cloudflare's free Universal SSL covers the root and one level of subdomain only; for a deeper name
(
a.b.example.com) issue the certificate over DNS instead.