---
title: "SPFフラット化とは何か、なぜ重要なのか？ | AutoSPF"
description: "「SPFフラット化についてよくある誤解は、それが一度きりの対応で済むという考えです」と、DuoCircleのCTOであり、AutoSPFのフラット化エンジンの設計者であるAdam Lundriganは述べています。"
image: "https://autospf.com/og/blog/what-is-spf-flattening-and-why-is-it-important.png"
canonical: "https://autospf.com/ja/blog/what-is-spf-flattening-and-why-is-it-important/"
---

Quick Answer

メールサービスがほんの数個しかない場合、たとえばあなたに代わってメールを送信するサーバーが1台か2台程度であれば、SPFレコードの管理は比較的簡単です。しかし現実には、それはほとんど実現可能ではありません。というのも、ほとんどの組織にはひと握り以上のサーバーや、あなたに代わってあなたのドメインを利用するサードパーティサービスが存在するからです。

SPFフラット化とは何か、なぜ重要なのか？

Your browser does not support the audio element.

[ Download episode](/audio/what-is-spf-flattening-and-why-is-it-important.mp3) 

Share 

[ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F "Share on LinkedIn") [ ](https://twitter.com/intent/tweet?text=SPF%E3%83%95%E3%83%A9%E3%83%83%E3%83%88%E5%8C%96%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B%E3%80%81%E3%81%AA%E3%81%9C%E9%87%8D%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%8B%EF%BC%9F&url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F "Share on X/Twitter") [ ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F "Share on Facebook") [ ](https://reddit.com/submit?url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F&title=SPF%E3%83%95%E3%83%A9%E3%83%83%E3%83%88%E5%8C%96%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B%E3%80%81%E3%81%AA%E3%81%9C%E9%87%8D%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%8B%EF%BC%9F "Share on Reddit") [ ](mailto:?subject=SPF%E3%83%95%E3%83%A9%E3%83%83%E3%83%88%E5%8C%96%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B%E3%80%81%E3%81%AA%E3%81%9C%E9%87%8D%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%8B%EF%BC%9F&body=Check out this article: https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F "Share via Email") 

![SPF flattening](https://media.mailhop.org/autospf/images/2025/12/spf-permerror-4998.jpg) 

> 「SPFフラット化についてよくある誤解は、それが一度きりの対応で済むという考えです」と、DuoCircleのCTOであり、AutoSPFのフラット化エンジンの設計者であるAdam Lundriganは述べています。「ベンダーのIPレンジは絶えず変化します。Googleは2025年だけで自社の\_netblocksを3回もローテーションしました。自動的に再解決されないフラット化済みレコードは古くなり、正当な送信者を静かに認可から外してしまいます。だからこそAutoSPFは15分ごとに再スキャンを行うのです。」

> 「10ルックアップの上限は、企業のSPFレコードが静かに壊れてしまう理由として断トツで最も多いものです」と、DuoCircleのゼネラルマネージャーでありAutoSPFの創設者であるBrad Slavinは述べています。「2,000以上の顧客ドメインのSPFを管理してきた私たちの経験では、障害のパターンは常に同じです。チームが新しいSaaSツールを追加し、そのincludeによって合計が10を超え、正当なメールが失敗し始める。しかし、顧客が請求書やパスワードのリセットが届かないと苦情を言うまで、誰もそれに気づかないのです。」

メールサービスがほんの数個しかない場合、たとえばあなたに代わってメールを送信するサーバーが1台か2台程度であれば、SPFレコードの管理は比較的簡単です。しかし現実には、それはほとんど実現可能ではありません。というのも、ほとんどの組織にはひと握り以上のサーバーや、あなたに代わってあなたのドメインを利用するサードパーティサービスが存在するからです。これには、CRM、マーケティングプラットフォーム、ヘルプデスクシステム、請求ソフトウェア、さらにはメールを処理または転送する[クラウドサービス](https://www.hpe.com/in/en/what-is/cloud-services.html)などが含まれます。

_[RFC 7208](https://datatracker.ietf.org/doc/html/rfc7208)によれば、SPFの評価は1回のチェックにつき10回のDNSメカニズムルックアップと2回のvoidルックアップに制限されており、いずれかの上限を超えると`PermError`が発生し、そのドメインからのすべてのメッセージの認証が失敗します。_

こうしたサービスを追加するたびに、SPFレコードにも別の「include:」が追加されます。そしてそれらが積み重なり始めると、SPFレコードは長く複雑になりすぎて扱いきれなくなります。さらに、[SPF](/ja/blog/what-is-spf-email-a-guide-to-sender-validation-technology/)には厳格な制限があります。実行できるDNSルックアップは10回までです。_これは、SPFが「include:」や「mx」、あるいは別のDNSレコードの取得を必要とするその他のものを見るたびに、それがその上限にカウントされることを意味します。_ そして、10回のルックアップを超えると、SPFはそれ以上の確認を停止し、あなたのレコードを無効なものとして扱います。

では、すべての送信サービスを[SPFレコード](/spf-record-checker/create-spf-record/)に組み込み、受信サーバーによって正当なものとみなされるようにするには、どうすればよいのでしょうか。そこで登場するのがSPFフラット化です。

![SPFレコード](https://media.mailhop.org/autospf/images/2025/12/spf-validator-1169.jpg) 

## SPFフラット化とは何ですか？

SPFフラット化とは、長く複雑なSPFレコードを、それほど多くのDNSルックアップに依存しないシンプルなバージョンに作り替える方法です。_その仕組みは、SPFレコード内のそうした「include」エントリをすべて取り込み、それらを単一のIPアドレスのリストに変換するというものです。_

したがって、受信サーバーに複数の[DNSレコード](https://www.digicert.com/faq/dns/what-are-dns-records)をそれぞれ異なるサービスごとに確認させる代わりに、SPFフラット化はあなたに代わってメールを送信することを許可された単一のIPアドレスのリストを提供します。これにより、SPFレコードは軽量で処理しやすく、10ルックアップの上限内に十分収まります。また、DNSタイムアウトやネストされすぎたルックアップによって引き起こされるSPFの失敗の可能性も減らします。選択肢を検討している場合は、[マクロとフラット化の比較](/ja/spf-makuro-vs-flattening/)で、それぞれのアプローチがどのような場合に適しているかを解説しています。

## なぜSPFフラット化はメール到達性と認証の重要な要素なのですか？

![メール到達性と認証](https://media.mailhop.org/autospf/images/2025/12/spf-validator-1670.jpg) 

ご存じのとおり、複数のメールサービスを使用する場合、SPFレコードはすべてを直接収容することはできません。10回のDNSルックアップの上限に達すると、SPFは本来あるべき動作をしなくなります。しかし、これはそうしたサービスを使用できないという意味でも、正当なものとみなされないという意味でもありません。SPFフラット化がそれをすべて可能にします。

その仕組みを理解しましょう。

### DNSルックアップの制限を解決する

SPFの最大の制限の一つが、10回のDNSルックアップ上限というルールです。つまり、その上限をうっかり超えることなく複数のサービスをSPFレコードに含めるのは難しくなります。[SPFフラット化](/blog/free-spf-flattening-tool-download-best-software/)は、余分なルックアップを取り除くことで、この問題を回避する手助けをします。_複数のincludeに依存する代わりに、フラット化は受信サーバーに単一の完全なIPアドレスのリストを提供します。_ これにより、SPFレコードがルックアップの上限を超えることを防ぎ、レコードが大きくなりすぎたというだけの理由で[正当なメール](https://www.usatoday.com/story/tech/2021/08/23/gmail-spam-filter-email-inbox-google/8242847002/)が失敗するのを防ぎます。

### メールのなりすましのリスクを軽減する

SPFレコードが長すぎたり構造化されていなかったりすると、攻撃者がレコード内の隙を見つけて悪用しやすくなります。たとえば、SPFレコードに使用しているすべての正当なサービスが含まれていない場合、あるいはルックアップの上限の問題で一部が失敗した場合、受信サーバーは誰があなたに代わってメールを送信することを許可されているのかを明確に検証できないことがあります。これは、攻撃者が本物のように見える[なりすましメール](https://www.infosecurity-magazine.com/news/infosec2025-email-domains-spoofing/)を送信するための扉を開いてしまいます。

![なりすましメール](https://media.mailhop.org/autospf/images/2025/12/spf-records-5602.jpg) 

SPFフラット化は、受信サーバーに認可されたIPアドレスの明確で完全なリストを提供することで、これを防ぐ手助けをします。_SPFレコードがクリーンで正確、そして常にルックアップの上限内にあるとき、メールプロバイダーはメールが本当にあなたから届いたものかどうかを自信を持って確認できます_。

### SPFの管理を容易にする

ブランドが成長するにつれ、あなたに代わってメールを送信するプラットフォームの数も増えていきます。今やおそらく、[CRMプラットフォーム](https://en.wikipedia.org/wiki/Customer%5Frelationship%5Fmanagement)、マーケティングツール、あるいは別個の請求サービスや通知サービスさえ必要になっているでしょう。これらすべてを手作業で管理するのは、かなり困難になり得ます。SPFフラット化は、すべてを読みやすく更新しやすい一つのクリーンなIPアドレスのリストにまとめることで、これを簡素化します。「include」エントリの長い連なりを追い続けることや、上限内に収めるという負担に対処することを、もはや心配する必要はありません。

![ CRM](https://media.mailhop.org/autospf/images/2025/12/spf-flatterning-5970.jpg) 

## SPFフラット化はどのように機能しますか？

それは、現在のSPFレコードを分解し、余分なルックアップを引き起こすものをすべて抽出し、受信サーバーが即座に検証できる単一のクリーンなIPアドレスのリストに統合することで機能します。ステップバイステップの概要で、[SPFフラット化がどのように機能するか](/ja/shikumi/)を舞台裏までご覧いただけます。

![SPFフラット化](https://media.mailhop.org/autospf/images/2025/12/spf-validator-2270.jpg) 

_SPFフラット化が、10回のDNSルックアップの上限内に収めるという厄介な問題を回避する手助けをする仕組みは、次のとおりです。_

### ドメインの検出

最初のステップは、現在のSPFレコードを分析し、include、a、mxなどのメカニズムを通じて参照されているすべてのドメインを特定することです。これらは通常、追加の[DNSルックアップ](/blog/reducing-dns-lookups-using-spf-flattening/)を引き起こすエントリです。

![DNSルックアップ。](https://media.mailhop.org/autospf/images/2025/12/spf-permerror-4901.jpg) 

### IPアドレスの収集

_ドメインが特定されたら、次のステップは、それらの背後にあるすべてのIPアドレスを調べることです_。これは、IPv4とIPv6の両方のアドレスを収集し、何も見落とさないようにするために、Aレコードおよび[AAAAレコード](https://support.dnsimple.com/articles/aaaa-record/)を確認することを意味します。

### レコードの凝縮

すべてのIPが揃ったら、SPFレコードが書き換えられます。これは、すべての「include」「a」「mx」エントリが実際のIPアドレスに置き換えられることを意味します。こうすることで、受信サーバーは追加のルックアップを行う必要がなくなります。

### 更新とメンテナンス

[メールサーバー](https://www.activecampaign.com/glossary/mail-server)があなたのメールを認証する際に参照できるよう、新しく更新されたSPFレコードをできるだけ早くドメインのDNSに追加することが非常に重要です。

### ユーザー検証

最後のステップは、すべてが正しく機能していることを確認するための検証チェックを実行することです。それが完了したら、今後PermErrorを回避できるよう、フラット化されたレコードを今後どのように維持していくかを必ず理解しておいてください。

![ユーザー検証](https://media.mailhop.org/autospf/images/2025/12/spf-record-check-3027.jpg) 

## AutoSPFがどのようにお役に立てるか

_私たちは、あなたに代わってメールを送信する非常に多くのツールやプラットフォームによって、メールのエコシステムがより高密度で複雑になっていることを理解しています。_ だからこそ、私たちはあなたのために物事をより簡単にするためにここにいます。SPFレコードを合理化することで、私たちの[自動SPFフラット化ツール](/ja/home/)は、DNSルックアップの上限を超えることなく、あなたの正当な送信サービスが適切に認証されるよう支援します。

[詳しくはお気軽にお問い合わせください！](/contact-us/)

## Topics

[ SPF ](/tags/spf/)[ SPF Flattening ](/tags/spf-flattening/)[ SPF record ](/tags/spf-record/) 

![Adam Lundrigan](https://media.mailhop.org/autospf/images/authors/adam-lundrigan.jpg) 

[ Adam Lundrigan ](/authors/adam-lundrigan/) 

CTO

CTO of DuoCircle. Architect of AutoSPF's SPF flattening engine and DNS monitoring infrastructure.

[LinkedIn Profile →](https://www.linkedin.com/in/adamlundrigan/) 

## Ready to get started?

Try AutoSPF free — no credit card required.

[ Book a Demo ](/book-a-demo/) 

Scan Your Domain Now

Instantly scan your domain for DKIM, SPF, and DMARC issues

Check My Domain 

Share this article

[ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F) [ ](https://twitter.com/intent/tweet?text=SPF%E3%83%95%E3%83%A9%E3%83%83%E3%83%88%E5%8C%96%E3%81%A8%E3%81%AF%E4%BD%95%E3%81%8B%E3%80%81%E3%81%AA%E3%81%9C%E9%87%8D%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%8B%EF%BC%9F&url=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F) [ ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fautospf.com%2Fblog%2Fwhat-is-spf-flattening-and-why-is-it-important%2F) Copy 

Related Articles

- [ ![email security](https://media.mailhop.org/autospf/images/2024/05/sender-policy-framework-office-365.jpg)  7 Myths and Misconceptions about Sender Policy Framework Foundational ](/blog/7-myths-and-misconceptions-about-sender-policy-framework/)
- [ ![SPF-Mechanismen](https://media.mailhop.org/autospf/images/2025/06/spf-record-generator-6637.jpg)  SPF-Mechanismen verstehen: a, mx, ip4 und include Foundational ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)
- [ ![Mecanismos de SPF](https://media.mailhop.org/autospf/images/2025/06/spf-record-generator-6637.jpg)  Comprender los mecanismos de SPF: a, mx, ip4 e include Foundational ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)
- [ ![Mécanismes SPF](https://media.mailhop.org/autospf/images/2025/06/spf-record-generator-6637.jpg)  Comprendre les mécanismes SPF : a, mx, ip4 et include Foundational ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)

## Related Articles

[  Foundational 4m  7 Myths and Misconceptions about Sender Policy Framework  May 31, 2024 ](/blog/7-myths-and-misconceptions-about-sender-policy-framework/)[  Foundational 6m  SPF-Mechanismen verstehen: a, mx, ip4 und include  Jun 27, 2025 ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)[  Foundational 6m  Comprender los mecanismos de SPF: a, mx, ip4 e include  Jun 27, 2025 ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)[  Foundational 6m  Comprendre les mécanismes SPF : a, mx, ip4 et include  Jun 27, 2025 ](/blog/understanding-spf-mechanisms-a-mx-ip4-and-include/)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"AutoSPF","url":"https://autospf.com","description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","publisher":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}}
```

```json
{"@context":"https://schema.org","@type":"BlogPosting","headline":"SPFフラット化とは何か、なぜ重要なのか？","description":"「SPFフラット化についてよくある誤解は、それが一度きりの対応で済むという考えです」と、DuoCircleのCTOであり、AutoSPFのフラット化エンジンの設計者であるAdam Lundriganは述べています。","url":"https://autospf.com/blog/what-is-spf-flattening-and-why-is-it-important/","datePublished":"2025-12-12T21:33:56.000Z","dateModified":"2026-04-18T02:36:41.000Z","dateCreated":"2025-12-12T21:33:56.000Z","author":{"@type":"Person","@id":"https://autospf.com/authors/adam-lundrigan/#person","name":"Adam Lundrigan","url":"https://autospf.com/authors/adam-lundrigan/","jobTitle":"CTO","description":"Adam Lundrigan is the Chief Technology Officer of DuoCircle, where he leads engineering and is responsible for the architecture of AutoSPF's SPF flattening engine and DNS monitoring infrastructure. His technical focus is the DNS-level behavior of SPF evaluation, the recursive include resolution logic that underpins flattening, and the monitoring systems that keep customer SPF records healthy as their upstream vendors change IP ranges.","image":"https://media.mailhop.org/autospf/images/authors/adam-lundrigan.jpg","knowsAbout":["SPF Flattening","DNS Architecture","Recursive Include Resolution","SaaS Engineering","DNS Monitoring","Infrastructure Automation"],"worksFor":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com"},"sameAs":["https://www.linkedin.com/in/adamlundrigan/"]},"publisher":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]},"mainEntityOfPage":{"@type":"WebPage","@id":"https://autospf.com/blog/what-is-spf-flattening-and-why-is-it-important/"},"articleSection":"foundational","keywords":"SPF, SPF Flattening, SPF record","wordCount":1146,"image":{"@type":"ImageObject","url":"https://media.mailhop.org/autospf/images/2025/12/spf-permerror-4998.jpg","caption":"SPF flattening","width":900,"height":600},"speakable":{"@type":"SpeakableSpecification","cssSelector":[".answer-block","h1"]}}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://autospf.com/blog/"},{"@type":"ListItem","position":3,"name":"SPFフラット化とは何か、なぜ重要なのか？","item":"https://autospf.com/ja/blog/what-is-spf-flattening-and-why-is-it-important/"}]}
```
