58 lines
2.0 KiB
HTML
58 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>SPF Record Creator - Generate SPF DNS Records</title>
|
|
<link rel="stylesheet" href="/assets/styles/main.css">
|
|
<script type="module" src="/assets/scripts/ui/creator.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>SPF Record Creator</h1>
|
|
|
|
<label for="record">DNS Record</label><br>
|
|
<input id="record" type="text" readonly>
|
|
|
|
<main>
|
|
<h2>Create an SPF DNS Record</h2>
|
|
|
|
<p>
|
|
Customize the options below to generate an SPF record, which will be shown in the input field above.
|
|
The qualifiers that can be used are:
|
|
</p>
|
|
|
|
<p>
|
|
<b>Pass</b> (Default): Selected IP addresses are authorized to send emails from this domain<br>
|
|
<b>Fail</b>: Selected IP addresses are NOT authorized to send emails from this domain<br>
|
|
<b>Soft fail</b>: Selected IP addresses might not be authorized to send emails from this domain (actual behavior differs)<br>
|
|
<b>Neutral</b>: Do not explicitly state whether the IP addresses are authorized or not (can be used for overriding other qualifiers)
|
|
</p>
|
|
|
|
<form id="form"></form>
|
|
|
|
<hr>
|
|
|
|
<p>
|
|
This tool allows you to create SPF DNS records, which are used to authorize emails, and are necessary
|
|
to be able to send emails to most providers, such as Gmail, Outlook and Yahoo Mail.
|
|
</p>
|
|
|
|
<p>
|
|
It works by specifying which IP addresses are authorized or not authorized to send emails.
|
|
You can specify IP addresses from a domain, from your MX records, or explicitly.
|
|
When specifying IP addresses, you then say whether these should pass or fail the validation.
|
|
</p>
|
|
|
|
<p>
|
|
For advanced usage, domain fields may contain macros. These start with a percentage sign and will expand
|
|
to a dynamic value. For example, <b>%{d}</b> expands to the current domain and <b>%{i}</b> to the
|
|
current IP address. See the <a href="/spf-macro-guide">Macro Guide</a> for a list of all macros.
|
|
</p>
|
|
|
|
<center>
|
|
<h3>More tools:</h3>
|
|
<a href="/spf-validator">SPF Validator Tool</a>
|
|
</center>
|
|
</main>
|
|
</body>
|
|
</html>
|