---
title: "無料SPFレコードジェネレーター - 60秒でSPFレコードを構築 | AutoSPF"
description: "メールプロバイダーを選択しカスタムIPを入力するだけで、有効なSPF TXTレコードを生成。公開すべき正確なDNSレコードを、ライブのルックアップ数計測とRFC 7208準拠チェックとともに表示します。"
image: "https://autospf.com/images/og-default.png"
canonical: "https://autospf.com/ja/tools/spf-record-generator/"
---

### Select your email providers

Google Workspace4LMicrosoft 3652LSendGrid5LMailchimp1LAmazon SES2LSalesforce2LHubSpot2LBrevo (Sendinblue)2LMailgun5LZoho Mail4LPostmark1LSparkPost1LMimecast (US)8LProofpoint3LFreshdesk / Freshworks7LZendesk2LIntercom2L

Custom IP addresses (0 lookups each)

One per line. IPv4 or IPv6, CIDR ranges supported.

Custom includes (\~1 lookup each + nesting)

One per line. "include:" prefix is added automatically if missing.

Policy qualifier

\-all

Hard fail (recommended)

Reject unauthorized senders

\~all

Soft fail (testing)

Accept but flag unauthorized

?all

Neutral

No policy assertion

Your SPF record:Copy

`v=spf1 -all`

DNS Lookups: 0/ 10 limit

Lookup counts are estimates including nested includes. Actual counts may vary as providers update infrastructure. Use the [SPF Checker](/tools/spf-checker/) to verify the exact count for your record after publishing.

## SPFレコードを生成した後はどうなるのか

**1\. ドメインの頂点にTXTレコードとして公開します。** DNSプロバイダー（GoDaddy、Cloudflare、Namecheap、AWS Route 53など）にログインし、ホストを`@`とする新しいTXTレコードを作成し、生成されたSPF文字列を値として貼り付けます。

**2\. 当社の[無料SPFチェッカー](/ja/tools/spf-checker/)で検証します。** DNSの伝播（通常5〜60分）の後、チェックを実行して、レコードが正しく公開され、ルックアップ数が10未満であることを確認します。

**3\. 継続的に監視します。** 新しいメールサービスを追加するたびに、SPFレコードの更新が必要になります。新しい`include:`ごとにDNSルックアップが増えます。[10ルックアップ上限](/ja/spf-dns-rukkuappu-oosugi/)に近づいたら、[AutoSPF](/ja/home/)を使ってフラット化するか、マクロに切り替えます。

プロバイダーリファレンス 

## プロバイダー別のDNSルックアップコスト

| プロバイダー           | includeメカニズム                       | ルックアップ数 |
| ---------------- | ---------------------------------- | ------- |
| Google Workspace | include:\_spf.google.com           | 4       |
| Microsoft 365    | include:spf.protection.outlook.com | 2       |
| SendGrid         | include:sendgrid.net               | 5       |
| Mailchimp        | include:servers.mcsv.net           | 1       |
| Amazon SES       | include:amazonses.com              | 2       |
| Salesforce       | include:\_spf.salesforce.com       | 2       |
| HubSpot          | include:spf.hubspot.com            | 2       |
| Brevo            | include:spf.brevo.com              | 2       |
| Mailgun          | include:mailgun.org                | 5       |
| Zoho Mail        | include:zoho.com                   | 4       |
| Postmark         | include:spf.mtasv.net              | 1       |
| SparkPost        | include:sparkpostmail.com          | 1       |
| カスタムIP（ip4/ip6）  | ip4:x.x.x.x                        | 0       |

ルックアップ数はおおよその値であり、プロバイダーがインフラを更新すると変わることがあります。ライブの数値には[SPFチェッカー](/ja/tools/spf-checker/)をご利用ください。

重要な理由 

## 無料SPFレコードジェネレーターを使う理由

### 常に正しい構文

ジェネレーターは、受信者が期待する正確な順序でレコードを構築します。v=spf1が最初、次にメカニズム、最後に単一のall修飾子です。余分なスペース、重複したタグ、欠落した修飾子が、認証を静かに壊すことはありません。

### ライブのDNSルックアップ数計測

追加した各プロバイダーが、構築中にそのDNSルックアップコストを表示するので、レコードを公開した後にPermErrorとして発覚するのではなく、10ルックアップの上限が近づいているのを事前に把握できます。

### includeで迷わない

プロバイダーを選択すると、正しいincludeメカニズムが自動で入力されます。正しい\_spfホスト名をヘルプドキュメントで探し回ったり、正しくコピーしたか不安になったりする必要はありません。

### すべてお使いのブラウザ内で動作

レコードはクライアントサイドで構築され、お使いのマシンから外に出ることはありません。インストール不要、登録不要、サーバーへのデータ送信もありません。

SPFレコードの仕組み 

## SPFレコードの構文を理解する

このSPFレコードジェネレーターは、あなたが選択した送信者から有効な[Sender Policy Framework](/blog/what-is-spf-email-a-guide-to-sender-validation-technology/)レコードを組み立て、DNSに公開する1行を渡します。その1行に何が含まれているかを知ることで、メンテナンスがはるかに容易になり、[SPFレコードを正しく設定](/ja/spf-rekodo-sakusei-hoho/)できます。ここでは、ジェネレーターが何を構築しているのか、そして各部分がなぜ重要なのかを解説します。

### SPFレコードの構造

すべてのSPFレコードは厳格な[SPFレコード構文](/ja/spf-rekodo-fomatto/)に従います。バージョンタグ、1つ以上のメカニズム、そして締めくくりの修飾子という3つの部分から成る単一のDNS TXTレコードです。完全なレコードは次のようになります。

`v=spf1 include:_spf.google.com ip4:203.0.113.10 -all`

`v=spf1`タグは、そのエントリがSPFであることを示し、最初に来なければなりません。他の何かで始まるレコードは無視されます。中央の各メカニズムは送信者のグループを許可し、末尾の`-all`は、一致しなかったすべての送信者を受信者がどう扱うべきかを伝えます。ジェネレーターは常にこれらを正しい順序で出力します。先頭の`v=spf1`や締めくくりの`all`修飾子がないレコードは無効として扱われるからです。

### 追加できるメカニズム

ジェネレーターに追加した各行は、次のいずれかのメカニズムになります。

- **`include:`** \- 別のドメインの送信者を許可します（Google Workspace、Microsoft 365、SendGrid、そしてほとんどのSaaSプロバイダーを追加する方法です）。各includeは少なくとも1つのDNSルックアップを消費し、さらにincludeを取り込むことがあるため、多くの場合それ以上になります。
- **`ip4:`と`ip6:`** \- 特定のIPアドレスまたはCIDR範囲を直接許可します。これらはDNSルックアップを**ゼロ**しか消費しないため、既知のメールサーバーを追加する最も安価な方法です。
- **`a`と`mx`** \- あなたのドメインのAまたはMXレコードにあるホストを許可します。それぞれ1ルックアップを消費します。
- **`all`** \- 最後に来なければならないキャッチオールで、あなたのポリシーを設定する修飾子と組み合わされます。

### ポリシーの選択：-all、\~all、または?all

`all`の前の修飾子は、他のどのメカニズムでも許可されなかったメールを受信者がどう扱うかを決めます。

- **`-all`（ハードフェイル）** \- 許可されていないメールを完全に拒否します。すべての正規の送信者がレコードに含まれたら目指すべき設定です。
- **`~all`（ソフトフェイル）** \- 許可されていないメールを受け入れつつ、疑わしいものとしてマークします。SPFを展開し、正規のものが漏れていないか確認する間に使用します。
- **`?all`（ニュートラル）** \- まったく何も主張しません。保護を提供せず、正しい選択であることはめったにありません。

安全な展開方法は、`~all`で生成し、1〜2週間レポートを観察してから、自信が持てたら`-all`で再生成することです。`+all`は完全に避けてください。インターネット全体にあなたのドメインとしての送信を許可してしまいます。

### ジェネレーターが防ぐよくある間違い

- **複数のSPFレコード。** ドメインは`v=spf1` TXTレコードを1つしか公開できません。2つ目があると両方が無効になります。ジェネレーターが生成する単一のレコードに、すべての送信者をまとめてください。
- **10ルックアップ上限の超過。** `include:`メカニズムを追加しすぎると上限を超え、PermErrorを引き起こします。ライブのカウンターが公開前にこれを警告します。
- **`ptr`の使用。** `ptr`メカニズムは非推奨で遅いため、ジェネレーターは代わりに`include`、`ip4`、`ip6`に依拠します。
- **`all`修飾子の欠落**や、255文字のTXT上限を超える文字列の分割。どちらもレコードを静かに壊します。

### 10 DNSルックアップ上限内に収める

SPF仕様は、1回の評価あたりのDNSルックアップを10に制限しています（RFC 7208、セクション4.6.4）。すべての`include`、`a`、`mx`、`exists`メカニズムが加算され、ネストしたincludeは再帰的に加算されるので、ほんの数個のSaaSプロバイダーで簡単に10を超えてしまいます。生成したレコードが上限を超えている（または近い）場合、[AutoSPF](/ja/home/)がincludeをコンパクトなレコードにフラット化し、15分ごとに再スキャンして、許可された送信者を1つも失うことなく上限内に収めます。詳しい説明は[DNSルックアップが多すぎる](/ja/spf-dns-rukkuappu-oosugi/)をご覧ください。

### SPF、DKIM、DMARCは協調して機能する

生成したSPFレコードは、3つのメール認証標準の1つです。SPFは送信サーバーを検証し、[DKIM](/blog/what-is-dkim-email-authentication-guide/)はメッセージに署名して改ざんされていないことを受信者が証明できるようにし、[DMARC](/blog/what-is-dmarc-email-authentication-guide/)はそれらを結び付けて、失敗時に受信者がどうすべきかを伝えます。Gmail、Yahoo、Microsoftは現在、大量送信者にこの3つすべてを要求しているので、このジェネレーターを無料の[DMARCチェッカー](/ja/tools/dmarc-checker/)と[DKIMルックアップ](/ja/tools/dkim-lookup/)と組み合わせて、完全にカバーしましょう。

### 公開してから検証する

レコードを生成したら、ドメインの頂点（ホスト`@`）にTXTレコードとして公開し、DNSが伝播するのを待ち（通常5〜60分）、無料の[SPFチェッカー](/ja/tools/spf-checker/)で確認するか、[SPFレコードをルックアップ](/ja/tools/spf-record-lookup/)して、解決し10ルックアップ以内に収まっていることを確かめます。サブドメインは親のSPFレコードを継承しないことを覚えておいてください。メールを送信するサブドメインには独自のレコードが必要で、同じ方法で構築できます。

## 10ルックアップを超えるレコードを生成しましたか？

AutoSPFは、あなたのincludeを自動的にフラット化し、15分ごとに再スキャンします。エンタープライズSLA、SSO/SAML、監査ログ、DNSロールバックを含みます。

[無料トライアルを開始→](https://subscriptions.zoho.com/subscribe/31162770c20bc42aba9c86185ed6106a6a2bba0f6b053217ad482bf477cf719e/smb%5F1)[プランと料金を見る](/ja/ryokin/)

Rated 5/5 on G2 · Trusted since 2018 

##  お客様の声 

### "AutoSPF Flattens SPF Records Seamlessly & Keeps Changes Logged - I am quite pleased with the product"

> It does what it promises to do, and does it very well. I appreciate that it keeps a log of changes made, which prevents many mistakes. A client's SPF record would have way too many lookups, but AutoSPF makes that problem go away. The length of the SPF record is typically not the issue; it's the amount of lookups in the record that are. AutoSPF "flattens" the record, automatically expanding the defined lookups to IP addresses or ranges. And it auto-updates the record when the un-flattened lookups change. 

 PJ 

Peter J.

 President · Small-Business (50 or fewer emp.) 

### "Helped us go beyond capacity"

> AutoSPF did exactly as described, it helped us get past our 10 lookup limit. Afterwards, we hit another limit regarding overall capacity and when contacted, they quickly provided us with a new solution to eliminate capacity issues entirely going forward, so now we can add as many SPF records as needed. They also provided us with a personalized support video explaining their new method in its entirety using our instance as the example. 

 VU 

Verified User

 Financial Services · Mid-Market (51-1000 emp.) 

[Read our reviews on G2 ](https://www.g2.com/products/autospf/reviews)

```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.facebook.com/autospf","https://github.com/duocircle","https://www.g2.com/products/autospf/reviews"],"aggregateRating":{"@type":"AggregateRating","ratingValue":"5.0","reviewCount":"21","bestRating":"5","worstRating":"1","url":"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","Email Deliverability","SPF Lookup Limits"]}
```

```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":"FAQPage","mainEntity":[{"@type":"Question","name":"SPFレコードジェネレーターとは何ですか？","acceptedAnswer":{"@type":"Answer","text":"SPFレコードジェネレーターは、メールプロバイダーを選択しカスタムIPアドレスを入力するだけで、有効なSPF TXTレコード文字列を構築します。正しい構文（v=spf1で始まり、メカニズムを列挙し、修飾子で終わる）を出力するので、DNS設定にそのままコピーできます。"}},{"@type":"Question","name":"このSPFジェネレーターは無料ですか？","acceptedAnswer":{"@type":"Answer","text":"はい。完全に無料で、登録は不要です。ジェネレーターはお使いのブラウザ内（クライアントサイド）でレコードを構築します。サーバーには何も送信されません。"}},{"@type":"Question","name":"自分のメールプロバイダーにどのincludeを使えばよいか、どう分かりますか？","acceptedAnswer":{"@type":"Answer","text":"各メールプロバイダーは特定のincludeメカニズムを公開しています。代表例：Google Workspaceはinclude:_spf.google.com（4ルックアップ）、Microsoft 365はinclude:spf.protection.outlook.com（2ルックアップ）、SendGridはinclude:sendgrid.net（5ルックアップ）を使用します。このジェネレーターは、プロバイダーを選択すると自動的にそのルックアップを処理します。"}},{"@type":"Question","name":"-allと~allの違いは何ですか？","acceptedAnswer":{"@type":"Answer","text":"-all（ハードフェイル）は、許可されていない送信者からのメールを拒否するよう受信サーバーに指示します。~all（ソフトフェイル）は、メールを受け入れつつフラグを立てるよう指示します。初期テスト中は~allを使い、すべての正規の送信者がレコードに含まれていることを確認したら-allに切り替えます。"}}]}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"ツール","item":"https://autospf.com/ja/tools/"},{"@type":"ListItem","position":3,"name":"SPFレコードジェネレーター","item":"https://autospf.com/ja/tools/spf-record-generator/"}]}
```

```json
{"@context":"https://schema.org","@type":"Product","name":"AutoSPF","url":"https://autospf.com","aggregateRating":{"@type":"AggregateRating","ratingValue":5,"reviewCount":21,"bestRating":5,"worstRating":1},"review":[{"@type":"Review","reviewRating":{"@type":"Rating","ratingValue":5,"bestRating":5},"author":{"@type":"Person","name":"Peter J.","jobTitle":"President"},"datePublished":"2026-03-10","reviewBody":"It does what it promises to do, and does it very well. I appreciate that it keeps a log of changes made, which prevents many mistakes. A client's SPF record would have way too many lookups, but AutoSPF makes that problem go away. The length of the SPF record is typically not the issue; it's the amount of lookups in the record that are. AutoSPF \"flattens\" the record, automatically expanding the defined lookups to IP addresses or ranges. And it auto-updates the record when the un-flattened lookups change.","name":"AutoSPF Flattens SPF Records Seamlessly & Keeps Changes Logged - I am quite pleased with the product","publisher":{"@type":"Organization","name":"G2","url":"https://www.g2.com"}},{"@type":"Review","reviewRating":{"@type":"Rating","ratingValue":5,"bestRating":5},"author":{"@type":"Person","name":"Verified User","jobTitle":"Financial Services"},"datePublished":"2025-07-31","reviewBody":"AutoSPF did exactly as described, it helped us get past our 10 lookup limit. Afterwards, we hit another limit regarding overall capacity and when contacted, they quickly provided us with a new solution to eliminate capacity issues entirely going forward, so now we can add as many SPF records as needed. They also provided us with a personalized support video explaining their new method in its entirety using our instance as the example.","name":"Helped us go beyond capacity","publisher":{"@type":"Organization","name":"G2","url":"https://www.g2.com"}}]}
```
