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()القيمة المُعادة
{
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,
}ثلاثة آراء، مقارنة
- ما وجده البحث في المضيف الحالي
- ما يجيب عليه المجال عندما يتم سؤاله مباشرة.
- ما تحمله منطقتنا بالفعل
وجود سجل في أي من أول اثنين و الغائب من الثالث هو شيء قد يتوقف
والمفقود والمفقودين غير شبه متشابهين، وهذه هي النقطة
وراء الوكيل، ما تراه من الخارج هو عنوان الوكيل، وليس الأصل. نسخه سيشير إلى المجال في خدمة لم تسمع بها قط. هي مدرجة بشكل منفصل، والاستيراد (() يتجاوزهم.
opaque هو حساب مرة واحدة لكل اسم، لا لكل عنوان: نفس الاسم وراء الوكيل يجيب على عناوين مختلفة تبعا لمن يسأل.
المخاطر هي الجملة التي يجب أن تظهر
البريد في الخدمة،(أ) DKIM ( ١ تيموثاوس ٣ : ١ ) فَهُوَ مَا يَجِبُ أَنْ يَقْرَأَهُ ٱلزَّوْجُ قَبْلَ أَنْ يُمْرَّ بِمُغَيِّرَةِ أَيِّ شَيْءٍ .
الـممثم
صحيح عندما يتم التبديل بالفعل. السؤال لم يعد ينطبق، ولا شيء هنا هو تحذير.