// email · spf
london.gov.uk SPF Record Checker
Use this SPF record checker to analyze the email authentication setup for london.gov.uk. SPF (Sender Policy Framework) specifies which mail servers are authorized to send email on behalf of london.gov.uk.
//01
SPF Record Check for london.gov.uk
The SPF record for london.gov.uk defines exactly which IP addresses and mail services are permitted to send email using @london.gov.uk addresses. When a receiving mail server gets an email claiming to be from london.gov.uk, it checks this SPF record to verify that the sending server is authorized.
If london.gov.uk's SPF record is configured correctly, it protects against email spoofing, preventing unauthorized parties from sending emails that appear to come from london.gov.uk. A missing or misconfigured SPF record can lead to delivery problems and makes the domain vulnerable to phishing attacks.
This SPF record checker breaks down each component of london.gov.uk's SPF record, showing which IP ranges and services are included and whether the policy ends with a hard fail (-all), soft fail (~all), or neutral (?all) for unauthorized senders.
//02
What Is SPF?
SPF (Sender Policy Framework), defined in RFC 7208, works by publishing a DNS TXT record that lists the IP addresses and domains allowed to send email for london.gov.uk. Receiving mail servers check this record to verify that incoming email actually comes from an authorized source.
Without SPF, anyone on the internet can forge the "From" address in an email to impersonate london.gov.uk. SPF helps prevent this by giving receiving servers a way to verify that the sending server's IP address is authorized by london.gov.uk's domain administrators.
//03
SPF Syntax Explained
An SPF record starts with "v=spf1" and contains one or more mechanisms: "ip4:" and "ip6:" specify allowed IP ranges, "include:" references another domain's SPF record, "a" allows the domain's own A record IPs, "mx" allows IPs from MX records, and "all" is the catch-all at the end.
Qualifiers modify how each mechanism is evaluated: "+" means pass (default if omitted), "-" means hard fail, "~" means soft fail, and "?" means neutral. A record ending in "-all" strictly rejects unauthorized senders, while "~all" marks them as suspicious but doesn't outright reject them. Best practice for london.gov.uk is to use "-all" once all legitimate sending sources are accounted for.
//04
SPF Best Practices
Keep the SPF record under the 10 DNS lookup limit. Each "include:", "a", "mx", and "redirect" mechanism counts toward this limit. Exceeding it causes a "permerror" that can result in all email from london.gov.uk failing SPF checks.
Use "-all" instead of "~all" once you're confident all legitimate senders for london.gov.uk are included. Regularly audit the "include:" entries to remove services london.gov.uk no longer uses. If the record is approaching the 10-lookup limit, consider "flattening" includes into explicit IP ranges.
Monitor SPF alignment with DMARC reports. DMARC aggregate reports will show you if legitimate email from london.gov.uk is failing SPF checks, which helps identify missing authorized senders.
//05
Frequently Asked Questions
Does london.gov.uk have SPF?. The SPF analysis for london.gov.uk shows whether the domain has a published SPF record and details its contents. If no SPF record is found, london.gov.uk has not configured email sender authorization.
What is london.gov.uk's SPF policy?. The SPF policy is determined by the final mechanism in the record. "-all" means hard fail (reject unauthorized senders), "~all" means soft fail (flag but don't reject), and "?all" means neutral (no policy).
Is london.gov.uk protected from email spoofing?, SPF alone provides partial protection. Full email spoofing protection for london.gov.uk requires SPF combined with DKIM and a DMARC policy set to "quarantine" or "reject". Check london.gov.uk's DMARC page for the full picture.
Why is email from london.gov.uk going to spam?. If SPF checks are failing, email from london.gov.uk may be flagged as suspicious. Verify that all sending servers and services are included in the SPF record.