مولّد سجل SPF — بترتيب صحيح وعدّ للاستعلاماتSPF Record Generator

ابنِ سجل SPF صحيحًا باختيار مزوّديك وعناوين IP، بترتيب سليم وعدّ أدنى للاستعلامات (حد 10) وتقسيم تلقائي للنصوص الطويلة.Build a correct SPF record from your providers and IPs, in the right order with a minimum lookup count (limit 10) and automatic splitting of long text.

مساحة العملWorkspace

مزوّدو الإرسالSending providers

كيف تُحسب النتيجة؟How the result is calculated

يُرتَّب السجل بحسب التكلفة: آليات بلا استعلام DNS أولًا (ip4 ثم ip6)، ثم a وmx، ثم include للمزوّدين، وتنتهي بقاعدة all واحدة. تُحذف التكرارات وتُتحقق صيغة كل IP (4 أجزاء 0–255 مع /0–32، أو IPv6 مع /0–128) وكل نطاق. «الحد الأدنى للاستعلامات» = عدد الآليات التي تسبّب استعلامًا (include وa وmx)؛ وتُحسب includes المزوّدين بتكلفتها المقاسة في 2026-10-13 (مثلًا SendGrid 2 وMailgun 5)، أما includes المخصّصة فتُعدّ 1 لأن متداخلها غير مرئي، فتحقق بأداة فحص SPF بعد النشر (الحد 10، RFC 7208). إن تجاوز النص 255 حرفًا يُقسَّم إلى سلاسل بين علامتي اقتباس. The record is ordered by cost: mechanisms with no DNS query first (ip4 then ip6), then a and mx, then provider includes, ending with a single all rule. Duplicates are removed and every IP (4 parts 0–255 with /0–32, or IPv6 with /0–128) and domain is syntax-checked. “Minimum lookups” = the number of query-causing mechanisms (include, a, mx); provider includes use costs measured on 2026-10-13 (e.g. SendGrid 2, Mailgun 5), while custom includes count as 1 because their nested lookups cannot be seen, so verify with an SPF checker after publishing (limit 10, RFC 7208). If the text exceeds 255 characters it is split into quoted strings.

حدود الأداة:Limits: قيم include للمزوّدين مأخوذة من وثائقهم المعروفة وقد تتغيّر؛ راجع وثائق المزوّد قبل النشر. يجب أن يكون للنطاق سجل SPF واحد فقط، فادمج الأنظمة في سجل واحد بدل إضافة سجل ثانٍ. لا يعرف المولّد مزوّديك الفعليين، ولا ينشر شيئًا في DNS. Provider include values come from their well-known documentation and may change; check the provider's docs before publishing. A domain must have only one SPF record, so merge systems into one record rather than adding a second. The generator does not know your real providers and publishes nothing to DNS.

أسئلة شائعةFAQ

لماذا ~all وليس -all؟Why ~all and not -all?

ابدأ بـ~all أثناء الاكتشاف حتى لا تُرفض رسائل مشروعة من مصدر نسيته، ثم انتقل إلى -all حين تتأكد من القائمة.Start with ~all while discovering sources so legitimate mail from a forgotten source is not rejected, then move to -all once the list is certain.

هل يغني SPF عن DKIM وDMARC؟Does SPF replace DKIM and DMARC?

لا. SPF يغطي مسار الإرسال فقط. راجع الدليل العملي.No. SPF only covers the sending path. See the practical guide.