A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 31, module 8: Sites, servers and monitoring Domains, DNS and certificates The site is moving server: how does the domain follow without cutting off e-mail?
Registrar, delegation, zone, certificate. [Diagram: What a domain name stacks up] The registrar The delegation The zone The certificate A site or e-mail outage is traced layer by layer, from top to bottom. Read, calculate the preview, review, confirm, check. [Diagram: A DNS change in Nexus] 1. Read the zone 2. Calculate the preview 3. Review 4. Confirm 5. Check The agent prepares the preview; the person confirms with one click in Nexus. The agent prepares, you confirm. Request: Read the zone of the wine merchant's domain, then prepare the preview pointing the root and www to the studio's server. Don't touch the MX or TXT records. Don't apply anything. Response: Zone read: 14 lines. Preview: root A and www CNAME changed, medium risk. MX and TXT not in the preview, so unchanged. To confirm in Nexus. Specifying a name-and-type group gives its complete state. [Diagram: The name-and-type group trap] What deletes What keeps Specifying a group gives its COMPLETE state: anything not written disappears. MX, SPF, DNSSEC, delegation: high risk. Prepared, never applied by a key Confirmed by a person A snapshot before, a log after A Let's Encrypt certificate lasts 90 days. Renewed at around 60 days Expiry measured on the site A task before it expires In the exercise, you prepare the switchover of the wine merchant's domain. Your turn: Prepare and check the wine merchant's domain switchover The written course, the corrected exercise and the quiz are below the video.
Lesson 31 of 48 · module 8, sites, servers and monitoring
Domains, DNS and certificates
A site that moves server goes through its domain name. You connect a host to Nexus, read a domain’s record and its deadlines, have the agent prepare a DNS change with its preview and risk, confirm it yourself, then check the certificate and the email path.
19 min of reading
1 min 52 of video
8 diagrams
5 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Reading a domain’s record: delegation, addresses, certificates, deadlines and provider limits
Have a DNS change prepared, review its preview group by group and confirm it yourself
Check the website, certificate and email after a switchover, with Nexus and on the command line
What’s covered
Connect the host and see what it allows
A domain’s record and its deadlines
Changing a zone without losing anything
Certificates and the e-mail path
3 worked examples, followed from start to finish
Exercise with answers · Prepare and check the wine merchant’s domain switchover
3 practice exercises, from guided to demanding cases
The quiz
Key points
A domain stacks registrar, delegation, zone and certificate: look for a fault in that order.
Read the zone, calculate the preview, review, confirm: the agent prepares, a person confirms.
A name-and-type group cited in a preview is complete: anything not written disappears.
MX, SPF, DNSSEC and delegation are high risk: snapshot before, log after.
Lower the TTL the day before a switchover, leave e-mail alone, check with dig and openssl.
Monday 23 November. The wine merchant’s new site goes live tomorrow morning, on the studio’s Debian server. The domain and its DNS zone are at IONOS, where the old site lived; so are the email inboxes of Sandrine’s team, and they must keep receiving bookings for the open days. Malik is preparing the switchover; Claire will confirm it.
Connect the host and see what it allows
An administrator connects a provider (IONOS, Cloudflare, OVHcloud, Infomaniak, Hostinger, o2switch, Vercel, Netlify…) using a key or token stored in the vault. They test the connection, then sync it: Nexus picks up the domains and zones and suggests assigning each resource to a site or a client, which the administrator accepts or dismisses. A resource assigned to nothing is work still to be done. Each provider has its limits, which Nexus displays: at IONOS, the zone can be read and written, but name servers are read only, nothing can be bought, renewed or deleted, and there is no test environment, so everything affects real domains. At Cloudflare, Nexus never toggles the proxy and prefers a scoped token to the global key. Screen labels may vary slightly depending on the version.
What Nexus does with a few providers
Supplier
What gets written
What stays in the provider’s console
IONOS
DNS zone, DNSSEC, certificates
Name servers, purchase, renewal, email inboxes
Cloudflare
Records, one line at a time
Proxy, SSL settings, firewall, cache, zone creation
OVHcloud
Zone records
Importing and resetting a zone
o2switch
Depending on the cPanel token
A token opens the whole account: create a dedicated one, with an expiry date
Vercel, Netlify
DNS records
Projects and deployments, read only
What a domain name stacks up
The registrar
The domain purchased, its expiry date, its lock, its auto-renewal.
Delegation
The declared name servers, and those that actually respond.
The area
The records: A and CNAME for the site, MX and TXT for email.
The certificate
The padlock of each name served, with its expiry date.
When a website or email goes down, you track the fault layer by layer, from the top down.
A domain’s record and its deadlines
The domain list is a projection of what Nexus already knows: opening it does not call the host. A domain’s record shows its lock, its declared name servers and those actually delegated, the addresses of the root and www, the certificates, what is missing, and the provider’s limits. “Created on” is the creation date in the registry, not the purchase date at the host. “Unknown” means the source did not respond, never that the domain is dead. Removing a domain from the list does not delete it: a domain is deleted at its registrar. Deadlines (certificates, domains, end of life, licences) are shown over 120 days by default, each one “measured” or “declared”, and each can become a task.
The domain record before the switchover
Give me the wine merchant’s domain record: registrar, expiry date and auto-renewal, lock, declared and delegated name servers (identical or not), current addresses of the root and www, certificates and their end dates, what is missing, and the provider’s limits for this domain. Read-only.
Roughly what you should get
What to expect: “IONOS, expires 14/03/2027, auto-renewal on, lock on; declared and delegated name servers identical; root and www pointing to the old shared hosting; old site’s certificate until 02/01/2027; name servers read-only with this provider.”
Check the same thing on the command lineTerminal
# adresse du site, serveurs de noms, courriel : ce que le monde voit
dig +short A [domaine]
dig +short CNAME www.[domaine]
dig +short NS [domaine]
dig +short MX [domaine]
dig +short TXT [domaine]
dig +short TXT _dmarc.[domaine]
# la date de fin du certificat servi
openssl s_client -connect [domaine]:443 -servername [domaine] </dev/null 2>/dev/null \
| openssl x509 -noout -enddate
Commands tried on 15/11/2026 on a public domain. dig queries the workstation’s resolver, which may keep the old answer until the TTL runs out.
Changing a zone without losing anything
A change always goes through three steps. The agent reads the zone. It works out a preview: the before and after of each group, with a risk level (low, medium, high, critical). The person confirms with one click in Nexus. If the zone has changed between the preview and the confirmation, the change is refused and a new preview is needed: nothing is written to a zone that nobody has reviewed. Before touching a zone that has been changed elsewhere, ask for a snapshot. The change log keeps the previous state of every change, and a rollback is just one more preview, always critical.
A DNS change in Nexus
1Read the zone
The current state, line by line, before any thought of change.
2Calculate the preview
Before and after, with a risk level from low to critical.
3Review
Every name-and-type group cited, especially those with several lines.
4Confirm
The person applies; a zone that has changed in the meantime is rejected.
5Check
dig and the change log, which keeps the previous state.
The agent prepares the preview; the person confirms with one click in Nexus.
The name-and-type group trap
What erases
Three TXT records at the root: SPF, Google, Microsoft
The preview cites only the new SPF
Both verifications are deleted
What keeps
Read the three lines first
Cite the group with its three lines
Change only the SPF one
Citing a group gives its COMPLETE state: anything not written disappears.
Prepare the switchover, without applying it
Wine merchant’s domain, with IONOS:
1. Read the full zone and take a snapshot of it.
2. Prepare the preview that lowers the TTL of the root (A) and www to 300 seconds, changing nothing else.
3. Prepare a second preview, for tomorrow at 7am: root A to [studio server address], www as a CNAME to the root, TTL 300.
For each preview: the groups cited with their lines before and after, and the risk level. Do not cite the MX or the TXT. Apply nothing: Claire will confirm.
Roughly what you should get
What to expect: a snapshot, two previews, low then medium risk, each group cited with one line before and one line after, and “MX and TXT not cited, unchanged”.
Switching over the wine merchant’s domain
Monday 23Lower the TTL
A and www from 3600 to 300 seconds; MX unchanged.
Tuesday 24, 7amChange the addresses
A and www to the studio’s server, preview confirmed by Claire.
Tuesday 24, 7.30amCheck
dig, certificate, site, form, e-mail.
Thursday 26Raise the time to live
Back to 3600 seconds once everything is stable.
The time to live (TTL) is lowered at least one old TTL before the change.
Confirming a preview, Claire’s job
Open the wine merchant’s domain record, DNS tab (or the notification for the preview to confirm).
Read each cited group: name, type, lines before, lines after.
Check that the risk level matches what the request said it would be.
Click to apply; if Nexus reports that the zone has changed, request a new preview.
Open the change log: the change is listed there with the previous state.
The risk of a change
Low
Add a new subdomain
Change a TTL
Medium
Change the site’s address (A, CNAME)
Replacing a TXT verification line
High or critical
MX, SPF, DNSSEC, delegation
Rolling back a record set
With an API key, high-risk changes are prepared, never applied.
Certificates and the e-mail path
A Let's Encrypt certificate is valid for 90 days; it renews at around 60 days, with no action needed when the server is set up correctly. After each switchover, check that the certificate served covers the root and www. Certificate expiry dates are measured on the site itself: a certificate nearing expiry without renewal becomes a task. The email path is checked separately: MX (who receives), SPF (who is allowed to send), DKIM (the signature), DMARC (the instruction on failure). A site switchover touches none of these lines; if the new site sends emails itself (the booking form), its sending service must be listed in the SPF, and that change is high risk.
Mistakes to avoid
Citing a multi-line group in a preview by writing only the line to change.
A cited group is complete: the other lines, often verifications or MX records, are deleted.
Read the zone, cite the group with all its lines, and count them before and after.
Changing the site’s address without having lowered the TTL the day before.
Resolvers keep the old address for up to an hour or more: some visitors see the old site.
Lower the TTL at least one old TTL period before the switchover, then raise it again once everything is stable.
Reading “unknown” on a domain’s record as an expired domain.
“Unknown” means the source did not respond; concluding it has expired leads to needless actions with the provider.
Rerun the sync or check with the registry before drawing any conclusion.
Removing a domain from the Nexus list thinking it cancels it.
The domain stays paid for and active at its registrar; Nexus simply stops tracking it.
Cancel it at the registrar, an action for a person, then remove it from the list.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
Thirty domains, no forgotten deadline
Julie runs a six-person web agency in Nantes. She manages thirty client domains across three providers, and one domain expired last year because the bank card on file was out of date.
A deadline that no longer catches you out
J-120Spotted
In the list of expiry dates.
J-60Task
Assigned to Julie.
J-30Renewed
With the provider, by Julie.
J+1Verified
New deadline flagged.
Request 1
List the domains in the portfolio that expire in the next 120 days, those without auto-renewal, and those assigned to no client. For each: provider, expiry date, measured or declared.
Model answer
Expiring within 120 days: 4. Without auto-renewal: 3, including one in 40 days. Not linked to any client: 5, from the last sync.
Julie assigns the five orphaned domains to their clients.
Request 2
Suggest a task for each of the three domains without auto-renewal, assigned to me, due thirty days before expiry. I will renew them myself with the providers.
Model answer
What to expect: three tasks proposed, none created without approval, and a reminder that renewal is done with the provider.
What was checked before sending
Assignment: every domain has its client.
The action: renewal paid for by Julie, never by the agent.
Next: tasks in the clients’ projects.
Rough estimate: a ten-minute review each month instead of one lost domain a year.
Example 2
A subdomain for a shop
Loïc is a freelance developer in Biarritz. A surf school with eight instructors wants its gift card shop on boutique.[domaine], hosted on Vercel, without touching the main site.
A subdomain in four steps
1Plan
The name, the target, the conflict.
2Aperçu
One line, low risk.
3Confirmation
By Loïc.
4Verification
dig and certificate.
Request 1
Prepare a subdomain plan for boutique.[domaine], as a CNAME to the target given by Vercel ([cible]). Say whether the name already exists, whether there is a conflict, and the risk. Do not apply anything.
Model answer
The name does not exist: no conflict. Plan: CNAME boutique to [cible], time to live 3600. Low risk. To be confirmed in Nexus.
Loïc confirms the preview himself.
Request 2
Uses dig to check that boutique.[domain] answers with the CNAME, then that the certificate served covers that name, with its expiry date. Read-only.
Model answer
What to expect: the CNAME visible, a 90-day certificate issued for boutique.[domain].
What was checked before sending
The conflict: checked before the plan.
The main site: no root group cited.
The certificate: issued for the new name.
Rough estimate: a quarter of an hour, without opening the host’s console.
Example 3
An estate agency’s lost email
Sophie is IT manager for a network of four estate agencies with 25 employees in Montpellier. Since a change of provider, some client emails no longer arrive.
The root TXT records
On 3 November
SPF without the new provider
Check deleted
E-mails rejected by DMARC
After correction
Complete SPF
Four lines cited
E-mails accepted
Request 1
Read the domain’s change log for the last thirty days, then the email path: MX, SPF, DKIM, DMARC. Compare the MX and TXT records with their state thirty days ago. Read only.
Model answer
On 3 November, a preview replaced the root TXT records: the old sending service’s verification disappeared and the SPF no longer cites the new provider. MX unchanged. DMARC set to reject: emails sent by the provider are refused.
Sophie realises it is sending, not receiving, that is failing.
Request 2
Prepare a preview that cites the root TXT records with all their lines from before 3 November, plus the new provider in the SPF. Show before and after, line by line. Do not apply anything.
Model answer
What to expect: a high-risk preview, four TXT lines after, and “to be confirmed by a person”.
Sophie reviews the four lines with the provider, then confirms.
What was checked before sending
The cause: read in the log, not assumed.
The group: cited with all its lines.
The confirmation: by Sophie, after reviewing with the provider.
Rough estimate: one hour of diagnosis instead of several days of back-and-forth between providers.
Prepare and check the wine merchant’s domain switchover
The switchover takes place on Tuesday 24 November at 7am. Write Malik’s requests for the day before, the checks on the morning itself, then the request that turns the domain’s deadlines into tasks. Say who confirms each preview.
Write the request for Monday 23: snapshot and TTL reduction.
Write the check request for Tuesday 24 at 7:30am.
Say what you do if e-mail stops arriving.
Write the request that creates the expiry tasks.
See the answers
Monday 23
Wine merchant’s domain: snapshot of the zone, then a preview that lowers the TTL of the root A and www to 300 seconds, nothing else. Show the groups cited before and after. Apply nothing.
Roughly what you should get
What to expect: a snapshot, a low-risk preview, two groups cited. Claire confirms it in Nexus on Monday before noon.
Tuesday 24, 7.30am
After the switchover preview is applied: check with dig that the root and www respond with the studio server’s address, that MX and TXT are identical to yesterday’s snapshot, that the certificate served covers the root and www and give its end date, that the /visiter-le-chai page returns 200 with “Réserver une visite”, and that monitoring is green. Read-only.
Roughly what you should get
What to expect: five lines checked, “MX and TXT identical to the snapshot”, certificate until 22/02/2027.
If email stops arriving, Malik first compares the MX records with the snapshot and reads the change log. An MX changed by mistake is fixed with a critical rollback preview, which Claire confirms. Meanwhile, he changes nothing at IONOS by hand.
Deadlines
List the deadlines in the next 120 days for the wine merchant client: domain, certificates, end of life. For each, say whether it is measured or declared. Suggest a task for those that do not renew on their own, in the client’s project, without creating it.
Roughly what you should get
What to expect: the old site’s certificate (irrelevant after the switchover), the domain due in March 2027 on auto-renewal, no task needed.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Reading dig output
Here is what five dig commands return for a wine merchant’s domain on the morning of a switchover. For each line, say whether it matches the plan and, if not, what needs to be done.
The material to work on
Plan: root and www to 203.0.113.40; MX unchanged (mx00.[hébergeur], mx01.[hébergeur]).
$ dig +short A [domaine]
203.0.113.40
$ dig +short CNAME www.[domaine]
[domaine].
$ dig +short MX [domaine]
10 mx00.[hébergeur].
10 mx01.[hébergeur].
$ dig +short A [domaine] @[résolveur du bureau]
198.51.100.12
$ dig +short TXT _dmarc.[domaine]
"v=DMARC1; p=quarantine"
Check your work
The root, www and MX records are correct
The office resolver still returns the old address
The cause is the time to live, not a zone error
DMARC does not need to change for a switchover
See the answers
Root, www and MX are correct. The office resolver keeps the old address until the time to live it has cached runs out: just wait, or clear its cache. DMARC is unrelated to the switchover.
Query the source rather than the cacheTerminal
# interroger directement un serveur de noms faisant autorité
dig +short A [domaine] @$(dig +short NS [domaine] | head -1)
Level 2 · independent18 min
Write a switchover preview from a zone
Here is a caterer’s zone. The website is moving to 203.0.113.40. Write the preview request, saying which groups it mentions, which it does not, and the expected risk.
The root A group goes from two lines to one, and that is intended
www stays a CNAME pointing to the root and does not need to be mentioned
MX, TXT and boutique are not cited
The request requires the before and after lines of every group cited
The expected risk is medium
See the answers
The preview request
Zone for [caterer’s domain]: read it and take a snapshot. Prepare a preview that replaces the root A group (two lines, 198.51.100.12 and .13) with a single line 203.0.113.40, TTL 300. Do not mention any other group: www follows the root through its CNAME, and MX, TXT and boutique stay as they are. Show the group before and after, and the risk. Do not apply anything.
Roughly what you should get
What to expect: a single group cited, two lines before, one after, medium risk.
The two previous A lines disappear: that is intended, because the cited group is complete. For www, no change is needed: its CNAME follows the root.
Level 3 · demanding case30 min
Diagnose the domain of a client who no longer receives e-mail
A client reports that her emails are no longer arriving. Read the report, find the cause, write the request for further diagnosis, then the fix preview and who confirms it.
The material to work on
Message from the client, manager of a bookshop in Périgueux, Thursday 26 November: “Since Tuesday, no emails have been arriving at contact@.”
CHANGE LOG (bookshop domain)
24/11 10.12am · group @ MX · before: 10 mx00.[hébergeur], 10 mx01.[hébergeur] · after: 10 mx00.[hébergeur] · applied by an agency member · preview “zone clean-up”
24/11 10.12am · group @ A · unchanged
DEADLINES: site certificate · measured · expires 08/12/2026
EMAIL PATH: MX 1 line · SPF present · DKIM present · DMARC p=none
Check your work
The likely cause is the removed MX, and a check is requested
The fix is a critical rollback preview
A person confirms, never an API key
The certificate expiry on 08/12 is flagged separately
The reply to the client stays a draft
See the answers
The diagnosis
Bookshop’s domain, read-only: check the public MX with dig, test whether mx00.[host] accepts connections on port 25, and say whether one of the host’s two mail servers should be cited alone. Compare the MX with the pre-24/11 state in the log.
Roughly what you should get
What to expect: “only one MX published, mx00 has been refusing connections since Tuesday; before 24/11, two MX”.
The fix
Prepare a rollback preview of the @ MX group to its state before 24/11 10.12am (two lines). Show before and after. Do not apply anything: Claire will confirm. Also suggest a task for the certificate expiring on 08/12, and prepare a three-line draft for the client in Message.
Roughly what you should get
What to expect: a critical preview, two lines after, one task proposed, a draft Claire sends herself after the fix.
Every request to the project agent written in the course, including model answers, worked examples and practice exercises, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice exercises with their materials, to do on paper or alongside Nexus; all model answers are gathered at the end.
The course’s worked examples, from the first project to production: the situation, the request as it was written, the agent’s typical answer and what was checked before approving.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.