Domini

mail.status()

domain.mail.status({ subdomain? }) → Promise<Status>

Lo stato real di un ospite, re-lee da zona: i quattro testimonis, e se è pronto.

re-reads the zonefreeper host
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const status = await domain.mail.status();                      // the apex
const team   = await domain.mail.status({ subdomain: "team" });

// { host, enabled, ready, mxOk, spfOk, dkimOk, dmarcOk, … }
status = domain.mail.status()                     # the apex
team = domain.mail.status(subdomain="team")

# {"host", "enabled", "ready", "mxOk", "spfOk", "dkimOk", "dmarcOk", …}

I quattro testimoni

CampoVerdadera quando la zona deten
mxOki records de routing
spfOkl'archive dicindo chi puèt mandar
dkimOkla tecla de firma
dmarcOkla politica de alinhament

ready è i quattro, più il dominio è attivo. È la bandera vale la pena mostrar.

abilitat e prontos sono differentes

Activat significa que lo configurîmos; pronto significa que funciona

Un host può essere activat mentre il dominio è ancora pendente, o mentre un record non aterrì. Mostrando activat come «email funcionà» è la forma in cui un client scopre il contrario da un messaggio mancante.

Lee la zona, non un record di essa

Che è ciò che rende utile dopo que qualcuno edita la zona a mano, o dopo un record è stato removit.

Per ogni host in una sola volta

mail.hosts() restituisce i memès testimoni per tutti, plus quante casellas de postas cada una ha.