const plan = await domain.migration();
if (!plan.safeToSwitch) {
console.log("would break:", plan.risks.join(", "));
await domain.records.import();
}plan = domain.migration()
if not plan["safeToSwitch"]:
print("would break:", ", ".join(plan["risks"]))
domain.records.import_zone()Retorno
{
servedBy: ["…", "…"], // who serves the domain right now
nameservers: ["…", "…"], // what to set at the registrar
safeToSwitch: false,
counts: { found: 23, inZone: 0, missing: 15, opaque: 8 },
missing: [{ type, name, content, reason }], // live elsewhere, absent here
opaque: [{ type, name, content, reason }], // a proxy address: the origin is invisible
unseen: [{ type, name, reason }], // seen by querying, not by the search
risks: ["mail in service", "DKIM signature", "a live site"],
alreadyServed: false,
}{
"servedBy": ["…", "…"], # who serves the domain right now
"nameservers": ["…", "…"], # what to set at the registrar
"safeToSwitch": False,
"counts": {"found": 23, "inZone": 0, "missing": 15, "opaque": 8},
"missing": [{"type": ..., "name": ..., "content": ..., "reason": ...}], # live elsewhere, absent here
"opaque": [{"type": ..., "name": ..., "content": ..., "reason": ...}], # a proxy address: the origin is invisible
"unseen": [{"type": ..., "name": ..., "reason": ...}], # seen by querying, not by the search
"risks": ["mail in service", "DKIM signature", "a live site"],
"alreadyServed": False,
}Tres opinioni, comparate
- Que la ricerca trovò al host actual.
- Quale risponde il dominio quando lo interrogato direttamente.
- Cea che la nostra zona deten ya.
Un record presente in uno dei primi due e ausente del terzèt è una cosa che stop.
missing and opaque are not the same, and that is the point
Det un proxy, quello che vedi da fora è l'indirizzo del proxy, non l'origin. Copiando il dominis aponte a un service che non ha mai sentito del. Essi sono elencati separatamente, e import() li salta.
opaque è contato una volta per nome, non per indirizzo: il mesmo nome dietro un proxy risponde addirise differentes in base a chi chiede.
Rischi è la frase a mostrar
Mail in service, una firma DKIM, un site live — in quei parole. È ciò che un cliente ha di ler prima di essere detto di cambiare nulla.
Prepretese
Vera quando il commutatore è già fatto. La questione non si aplica più, e ningun advertit.