Documentation

Bring my DNS to Lua, step by step

One click in the panel creates the domain on Edgium, shows the two name servers for your domain and checks automatically when you change them at the registrar. You do not need to create a TXT record or know about DNS: once the change takes effect, the panel sets up the email records for you. This page also compares this path with the TXT record.

On this page
  1. Before you start
  2. TXT record or bring your DNS
  3. Step 1: the button
  4. Step 2: copy the name servers
  5. Step 3: change them at your registrar
  6. Step 4: the panel tells you
  7. Step 5: email is set up automatically
  8. If Domain health still shows a problem
  9. Prefer not to change the DNS?
  10. Common questions

Before you start

This path is for those who are fine with moving the domain's DNS to Edgium. Email and your website keep working as they do today: we copy the records the domain already has before the change. The MX only moves to Lua under the conditions described in step 5.

  • A panel user allowed to create domains.
  • Access to your registrar (registro.br, GoDaddy, Hostinger etc.), where the name servers are set.
  • An existing Edgium registration. The option to bring your DNS appears for customers who are already registered with Edgium. If your registration is not there yet, the domain request shows only the TXT record: follow the TXT step by step. If in doubt, talk to support.

The screenshots come from the lab, with a fictional company and domain. The panel screens are shown in Portuguese.

TXT record or bring your DNS

The panel offers two paths to prove the domain is yours. The request screen shows both side by side, with Bring my DNS to Lua as recommended.

Point of comparisonTXT recordBring your DNS to Edgium
Where DNS staysIt stays where it is.It moves to Edgium's DNS.
Who sets up the email recordsYou, at your DNS provider, from the Domain health list.The panel, by itself.
How long it takesA few minutes for the TXT record, plus the time to create each record.A few minutes to a few hours, the time the change takes at the registrar.
When to choose itWhen DNS has to stay where it is.When you are fine with moving DNS and want email ready without copying records.

The TXT record step-by-step is in domain onboarding. If you validate with the TXT record and change the name servers later, email is also set up by itself, as in step 5.

1. Request the domain and click Bring my DNS to Lua

  1. Under Domains, click Add domain and type the domain. The panel opens the request and shows the two paths: bring your DNS to Lua (just change the name servers at the registrar) or publish the TXT record.
  2. On the request screen, the two paths appear side by side. In the Bring my DNS to Lua card, marked Recommended, click Bring my DNS to Lua. The Learn more link leads to domain onboarding.
  3. Read the confirmation and click Confirm. The panel creates the domain at Edgium without changing anything that is live.
Domain request with the two paths side by side: Bring my DNS to Lua, marked Recommended, and TXT record, each with the See the steps and Learn more links
The domain request: bring your DNS (recommended) or publish the TXT record.
Confirmation saying the current records will be copied
The confirmation explains what will happen: current records are copied and nothing changes until you change the name servers.

2. Copy the name servers

The panel shows only the name servers reserved for your domain. Each domain can have a different pair: always use the ones on screen.

  1. Click Copy next to each server (Server 1 and Server 2).
  2. The screen shows Waiting for the name server change and checks by itself every few minutes.
Request card with Edgium's two name servers, the Copy buttons and the notice Waiting for the name server change
The domain's two name servers, with the Copy button and the waiting state.

3. Change the name servers at your registrar

  1. Go to the site where the domain was registered and open the name servers section (also called DNS or nameservers).
  2. Replace the current servers with the two from the panel and save.
  3. It can take from a few minutes to a few hours. If you are in a hurry, go back to the panel and click Check now.

At registro.br the option is called Alterar servidores DNS. Other providers use other names, but the field is always a list of name servers.

4. The panel tells you when it takes effect

When the name servers become Edgium's, ownership of the domain is proven, the domain is activated and you get a notice on the screen and in the bell. From then on, the domain's DNS is managed in Edgium's panel (see the Manage my DNS guide).

Notice: name server change detected, the domain is active
The on-screen notice when the change is seen and the domain is activated.
Notification list with NS change detected
The notices are kept in your notifications (the bell): the change detected, the domain active and then the email set up in DNS.

5. Email is set up automatically

As soon as DNS is active on Edgium, the panel sets up Lua's email records, with nothing for you to copy. This applies to those who brought their DNS and also to those who validated with the TXT record and changed the name servers afterward.

  • SPF: Lua's is merged with the one that already exists. The providers you already authorized stay in the record, and nothing you were sending today stops being valid.
  • DKIM and Autodiscover (the SRV record): are created, so that email goes out signed and Outlook and phones set themselves up automatically.
  • Automatic email setup (autodiscover.yourdomain and autoconfig.yourdomain): the panel writes the two A records to the zone and, once the names start answering, turns on the address, the certificate and HTTPS, with nothing for you to do. In Authentication → Validate DNS, the Autodiscover (automatic setup) card shows Waiting for DNS, Activating and Completed; if there is an error, the Open a ticket button appears. Domain health shows just one alert line until it is Completed. If the address already points somewhere else, the panel warns you and asks for your confirmation before replacing it.
  • DMARC: becomes Lua's recommended default, with the quarantine policy and the reports received by Lua. If the domain already had a DMARC, Lua's default replaces it.
  • MX: if the domain has an active mailbox at Lua, the MX moves to Lua along with the rest, and email starts arriving at Lua.

When it finishes, the bell shows the notice Email set up in the DNS of followed by your domain.

When the MX is not changed automatically. The MX stays where it is if the domain does not have an active mailbox yet, if an email migration is in progress or if the domain's External MX option was set manually. Your email then keeps arriving where it does today. In those cases, the notice says that only the MX is missing, and you change it when you want, with the Fix problems button in Domain health (see below). A domain with Lua Shield (antispam only) never has its MX changed.

Panel notification saying that the email records were created and that only the MX is missing
The notice that only the MX is missing: email was set up and the MX stays where it was.

The automatic name server check lasts up to 30 days. If the change is not made within that period, the panel stops checking by itself; after you change the name servers, use the Check now button, which remains available.

If Domain health still shows a problem

  1. Open the domain, go to Overview → Domain health and click Check now. With DNS on Edgium, the result appears as soon as the record is applied, without waiting for DNS propagation. There is an interval of a few minutes between one manual check and the next.
  2. If only the MX is missing, click Fix problems. The Email records window shows the preview, with only one button: Apply.
  3. When the preview changes the MX, the window warns that email will start arriving at Lua and asks for your confirmation. Check the confirmation box and click Apply and switch the MX.
Email records window with the preview of the records and the Apply button
The Email records window: the preview and the Apply button.
Notice Email will start arriving at Lua, with the confirmation checkbox and the Apply and switch the MX button
The notice shown before the MX is changed.
Domain health with MX, SPF, DKIM, DMARC and Autodiscover in green and Edgium's name servers
Domain health with everything correct, after the name server change.

To create or edit other records for the domain, see Manage my DNS.

Prefer not to change the DNS?

Use the TXT record, the other option on the request screen: create the record with the name and value shown in the domain's current DNS and click Check now. On this path, DNS stays where it is and you set up at your provider the email records that Domain health lists. Whichever comes first applies: the name server change or the TXT record. See the TXT record step-by-step in domain onboarding.

Common questions

  • Will my email stop working during the change? No. DNS on Edgium starts with the records the domain already had, including the MX. The MX only moves to Lua automatically when the domain has an active mailbox, no email migration is in progress and the External MX option was not set manually. In other cases, you make the change when you want, under Fix problems. A domain with Lua Shield never has its MX changed.
  • I don't see the option to bring my DNS. It appears only for customers who are already registered with Edgium. Otherwise, the request shows the TXT record, which proves ownership just the same.
  • I validated with the TXT record. Can I still bring my DNS later? Yes. When you change the name servers to Edgium, the panel sets up the email records by itself, as in step 5.
  • I clicked twice. Does it duplicate? No. Clicking again shows the same servers.
  • A DOM- code and a ticket button appeared. The domain could not be added right now. Open the ticket and give the code, without trying again.
  • How long is the request valid? The deadline appears on the screen; after it, simply request again. The automatic name server check ends after 30 days, and the Check now button remains available.