慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

The GitHub Blog
The GitHub Blog
美团技术团队
aimingoo的专栏
aimingoo的专栏
V
V2EX
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tailwind CSS Blog
V
Visual Studio Blog
Help Net Security
Help Net Security
P
Palo Alto Networks Blog
Latest news
Latest news
GbyAI
GbyAI
I
Intezer
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
H
Help Net Security
博客园 - 三生石上(FineUI控件)
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LangChain Blog
T
Threat Research - Cisco Blogs
L
LINUX DO - 热门话题
P
Proofpoint News Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
WordPress大学
WordPress大学
Cyberwarzone
Cyberwarzone
Y
Y Combinator Blog
N
News and Events Feed by Topic
博客园 - 司徒正美
NISL@THU
NISL@THU
The Hacker News
The Hacker News
B
Blog RSS Feed
C
Check Point Blog
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
AWS News Blog
AWS News Blog
罗磊的独立博客
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
Security Latest
Security Latest
Martin Fowler
Martin Fowler
小众软件
小众软件
Spread Privacy
Spread Privacy
S
Schneier on Security
The Last Watchdog
The Last Watchdog

Latest news

Why I'm recommending last year's phones over 2026 models - with one exception This powerful Gemini setting made my AI results way more personal and accurate After testing this HP laptop, I get why its 'boring' design is adored by business users The best TV antenna of 2026: Expert tested Your old iPad or Android tablet can be your new smart home panel - here's how Apple's original AirTag still tracks effectively, and you can get a 4-pack for its best price ever T-Mobile will give you an iPad for $99 when you sign up for a new line - here's how How to qualify for Apple's education discount - and get a $499 MacBook Neo for school T-Mobile will give you a Samsung Galaxy Watch 8 for free - how to get yours Prolonged AI use can be hazardous to your health and work: 4 ways to stay safe Verizon will give you a free iPad or Apple Watch with your next iPhone - how the deal works The best laptops of 2026: Expert tested and reviewed I hid 4 Bluetooth trackers (including AirTags) to test their reliability - here's how Android rivals compared I stopped using my iPhone's hotspot after testing this 5G router - and that won't change The best Kindles in 2026: Expert recommended Does Best Buy price match? Everything to know about matching prices online and in-store The best WordPress hosting services of 2026: Expert tested and reviewed The best Apple Watch of 2026: Expert tested and reviewed The best TV screen cleaners of 2026: Expert recommended The best 50-inch TVs of 2026: Expert tested I traded my Sonos Era 300 for Denon's new home speaker - and see no reason to go back AI-powered website builders have come a long way - here's your best option in 2026 Amazon just slashed $250 off the Google Pixel 10 - and a Prime subscription isn't required I found the apps slowing down my PC - how to kill the biggest memory hogs These companies are actually upskilling their workers for AI - here's how they do it Verizon will give you Meta Ray-Bans for free with this Fios Internet deal - how to get yours I tried the new Gemini app for Mac - it has one major advantage over the web version How Google's updated AI Mode will ease your tab clutter when you search Why this MagSafe battery pack is our readers' favorite model right now - especially at its price T-Mobile will give you a Google Pixel 10a for free - plus an extra gift OpenAI's Codex Desktop can run your computer now - and has its own browser Want to build a startup that gets acquired? This founder shares 5 proven tips Google to pay $135M settlement to Android phone users - how to claim your share if you qualify Want to stand out on LinkedIn? Try this career strategist's top 3 tips for strengthening your profile I've used Dell's new XPS 16 for a week, and it's the Windows laptop to beat in 2026 You can get 50% off YouTube Premium for 1 year right now - but the deal ends soon Tidal vs. Qobuz: I tried both hi-res streaming services, and they couldn't be more different This stroller turns into a carry on-suitcase, and I recommend it for traveling parents The best small business VoIP providers of 2026: Expert tested and reviewed Protect your devices with our pick for the best antivirus software, now over 60% off MacBook Neo vs. Surface: Why spiraling RAM prices are bruising Microsoft's PC business but not Apple's I tried Google's new desktop app for Windows, and I'll never search the old way again Microsoft's Windows 11 laptop deal for students comes with a $500 bonus - what's included You can buy an LG B5 OLED for $1,500 off at Best Buy - and it comes with a free 4K TV Why Zorin OS 18.1 is simply the best Linux distro - for anyone Why Netgear just got the first FCC router ban exemption in the US Microsoft's latest Windows update now confirms if your PC is Secure Boot-protected - how it works Can this $70 Linux app make up for the lack of Photoshop? I tried it to find out 'Like handing out the blueprint to a bank vault': Why AI led one company to abandon open source iPhone charging slowly? 6 quick fixes to try before blaming your battery Roku TV vs. Fire Stick: Why I'm looking beyond streaming resolution when comparing the two AI is getting better at your job, but you have time to adjust, according to MIT The best internal communication tools of 2026: Expert tested and reviewed Half of all US employees use AI at work now - and waste almost 8 hours a week doing it The latest Google Home update brings Gemini fixes that I'm actually excited to try again I've been subscribed to a data removal service a month now - what I wish I knew sooner You can use Linux 7.0 on these 7 distros today - here's what to expect How I share audio from my Android phone to multiple earbuds (and why it's a big deal) Why the Apple Watch's 20-minute calibration test is worth your time - especially if you're data curious I tested ChatGPT Plus vs. Gemini Pro to see which is better - and if it's worth switching I used the 'Plus Five' rule to fix my iPhone's slow wireless charging - here's how it works The new rules for AI-assisted code in the Linux kernel: What every dev needs to know 'Job seekers have to be detectives': 3 signs that listing is a scam How the latest Netrunner distro delivers a Linux productivity powerhouse This Linux distro offers an easy DNS switcher - but there's more to it that I like I tested Artix Linux: An enjoyable systemd-free distro for experienced users (and ChromeOS speeds) I spent two years testing wind power at home - here's why solar is still my preferred source I camera-tested the Samsung Galaxy S26 Ultra with Oppo and Xiaomi - this model won it for me How I boosted my portable solar panels' power by up to 30% - 11 expert-approved tips I see why Ubuntu 26.04 is more than just a performance bump for thrill-seeking gamers France is ditching Windows for digital sovereignty - and its new Linux stack is taking shape As an Android user, this MagSafe wallet is the clearest reason why Qi2 magnets shouldn't be ignored The best Zoom alternatives in 2026: Expert tested and reviewed KDE Linux is the purest form of Plasma I've used in months - but there's a catch LG C6 vs. LG C5: Why the 2025 model is still the smarter OLED TV model buy for me How I disabled 'fast startup' on my Windows 11 laptop to stop overnight battery drain 30 years later, I returned to Enlightenment Linux to test the Elive beta - and it's much better Here's my favorite email trick for cleaning up inbox clutter - automatically The $30 Google TV stick may be the budget Chromecast successor we've been waiting for The best AR and MR glasses in 2026: Expert tested and reviewed This handy electric screwdriver is now 50% off - here's where to snag the deal This Ryobi yard essentials bundle packs a free power tool - how to get yours After trying these boomless headphones in the office, I'm feeling hopeful for the future of work tech I used this EcoFlow battery to run my 3,000-sq-ft home in a blackout - here's how it kept my AC on Microsoft's Windows Insider Program is no longer a confusing mess Forget Shokz: I tried the Suunto Spark earbuds for a month, and they've sold me on air conduction iOS 26.4 brings essential upgrades to your iPhone - including a vital security fix YouTube Premium is getting a price increase in June - but you can save $32 with one change Your router may be vulnerable to Russian hackers, FBI warns: 5 steps to take now I walked 3,000 steps with my Apple Watch, Google Pixel, and Oura Ring - this tracker was most accurate I stopped guessing which AA batteries are dead - this charging station keeps them in check for me My favorite Android Auto find is these hidden shortcuts that are highly customizable AirDrop is coming to older Samsung phones - is yours supported? How to get it early I'm no longer using Google Photos as just a cloud storage - 5 tools that elevate the app The best data removal services of 2026: Expert tested and reviewed The best Samsung TVs of 2026: Expert tested and reviewed The best mobile scanning apps of 2026: Expert tested and reviewed The best HP laptops of 2026: Expert tested and reviewed After using Lenovo's new Yoga laptop, I'm wondering if Windows makers are running out of ideas Samsung S95H vs. Samsung S95F: I compared the OLED TVs and wasn't prepared for the upset
I set up DNS records to prevent important emails from being flagged as spam - here's how
Written by · 2026-05-28 · via Latest news
Gmail
Elyse Betters Picaro / ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET key takeaways

  • There are three DNS records that protect your domain and keep your emails out of junk.
  • Running all three gives you complete coverage. 
  • They also protect your domain from being hijacked.

If you send a lot of work emails and keep getting radio silence, your emails are very likely ending up in someone's spam folder. 

There are a few reasons this could happen that don't always have to do with the contents of your emails. Most commonly, your domain may not be authenticated, which gives receiving mail servers all the reason they need to quietly file your messages away in the spam folder. 

Also: How a burner email can protect your inbox - setting one up one is easy and free

I've seen this catch people off guard more often than you'd expect, including teams with genuinely good email content. Thankfully, there's an easy fix involving three DNS records called SPF, DKIM, and DMARC. Together, they prove to the internet that your emails are legitimate. They also protect your domain from being hijacked by cybercriminals so they can impersonate you in emails.

Gmail and Yahoo began enforcing these authentication requirements for bulk senders in Feb. 2024. Following this, Microsoft added the same requirements for Outlook.com, Hotmail, and Live.com in May 2025. If you haven't set these up yet, they are no longer optional.

What SPF, DKIM, and DMARC actually do

Each of the three protocols addresses a different weak point in email authentication. SPF verifies that the server sending your email is authorized to do so. DKIM adds a cryptographic signature to your outgoing messages, confirming they haven't been altered in transit. 

DMARC ties the two together by publishing a policy that tells receiving servers what to do when either check fails, and routes authentication reports back to you.

You genuinely need all three. SPF alone can't stop someone from forging the "From" address your recipient sees in their inbox. DKIM alone won't catch an email sent from an unauthorized server. Only when you run all three do you get complete coverage against both deliverability problems and domain spoofing.

1. SPF: Authorize the servers that send on your behalf

screenshot-tool-20260521185856.png
Screenshot by Ritoban Mukherjee/ZDNET

SPF (Sender Policy Framework) is a DNS TXT record that lists every IP address and mail server authorized to send email on behalf of your domain. When a recipient's mail server receives a message claiming to be from you, it checks that record against the sending server's IP. If the IP isn't on the list, the message fails.

Also: Here's my favorite email trick for cleaning up inbox clutter - automatically

Setting it up means logging in to your domain registrar (GoDaddy, Cloudflare, Namecheap, etc.) and adding a TXT record at the root of your domain. Here's how that works: 

  1. First get your SPF value from your email service. Google Workspace, Microsoft 365, and most platforms provide the exact record value you need to copy-paste on their domain authentication page. For Google Workspace, it goes like this: v=spf1 include:_spf.google.com ~all. 

  2. If you send emails through multiple services, you should stack them in the same record, e.g.  v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all. 

  3. Log into the platform where you manage your domain's DNS records. This could be GoDaddy, Cloudflare, Namecheap, Route 53, etc. Create a new TXT record on your DNS page, set the host to @ (your root domain), and paste the SPF value from the earlier step.

It's as easy as that! Note that your domain can have only one SPF TXT record, with no more than 10 DNS lookups. Creating a second SPF record instead of editing the first will break both. So keep your authorized senders list lean. 

2. DKIM: Add a tamper-proof signature to every email

screenshot-tool-20260521185419.png
Screenshot by Ritoban Mukherjee/ZDNET

DKIM (DomainKeys Identified Mail) uses public-key cryptography to sign your outgoing messages. Your mail server attaches a signature using a private key it holds, so recipients can verify it against a matching public key you've published in your DNS. If the email was modified at any point between your server and the recipient's inbox, that signature check fails.

Also: This simple email trick saves me from annoying marketing spam (and it's free to do)

Google Workspace, Microsoft 365, and most major email platforms like SendGrid will generate a DKIM key pair for you. Your job is to copy the public key they provide and paste it into your domain's DNS settings as a new TXT record. 

While the exact setup steps depend on your email provider and domain registrar, here's a general overview of what you need to do. 

  1. Google Workspace, Microsoft 365, SendGrid, Mailchimp, and other email service providers will generate a DKIM record for you if you navigate to their domain authentication settings page. For example, if you use Google Workspace, this is located within Apps > Google Workspace > Gmail in Google Admin Console. Click to generate a new record and copy these values first. 

  2. Next, navigate to your domain registrar's DNS settings page and create a new TXT record like you did when setting up SPIF earlier. Note that some providers may also require you to add this as a CNAME record instead of a TXT record, so refer to your email provider's documentation. 

  3. Paste in the host name and record value you got from your email provider into the new DNS record. Make sure there are no typos because this can affect domain security.

  4. Now, return to your email provider's authentication settings. This is where you enable DKIM signing for your domain. In Google Workspace, this is done by revisiting the "Authenticate email" page in the Admin Console and clicking "Start authentication." Remember that you should do this after 24-48 hours since DNS records take a while to propagate across your domain. 

DKIM is especially useful for forwarded messages. Forwarding often breaks SPF because the IP address changes, but the DKIM signature typically survives intact. That means a forwarded email can still pass authentication when SPF alone would have failed. 

3. DMARC: Set the rules for what happens when authentication fails

screenshot-tool-20260521190257.png
Screenshot by Ritoban Mukherjee/ZDNET

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is the policy layer that makes SPF and DKIM enforceable. Without it, a receiving server that detects a failed check has no instructions on what to do next, and you have no visibility into what's failing or why. Here's how to get it up and running:

  1. Start by creating a dedicated inbox for DMARC reports first, like reports@yourdomain.com. 

  2. Most email providers offer a DMARC generator in their dashboard, but you can also use a third-party service like MXToolbox or DMARCLY. 

  3. Add a new TXT record. The host name should read _dmarc. Paste in the record value directly from your DMARC generator. 

  4. Keep an eye out for any failure reports in your dedicated inbox for 2-4 weeks. This will reveal any issues with the mailbox that need to be addressed for better deliverability.

Also: I tested NordVPN's free scam checker with real phishing emails - here's how it fared

Like the other two, DMARC is a TXT record, added this time to _dmarc.yourdomain.com. A simple starting record looks like this: v=DMARC1; p=none; rua=mailto:reports@yourdomain.com. The p=none setting means receiving servers won't take any action on failing messages, but will send you aggregate reports at the address you specify. Those reports show which services are sending on your behalf and whether they're passing authentication.

Once you've reviewed a few weeks of reports and confirmed your legitimate mail is passing cleanly, you can tighten the policy. Move to p=quarantine to route failing messages to spam, then eventually to p=reject to block them entirely. 

Jumping straight to p=reject before reviewing your reports is probably the most common implementation mistake I see, and it ends up blocking your own marketing or transactional emails.

Why you can't just pick one

Each protocol has a gap that the others fill. SPF checks the sending server but not the "From" address that recipients actually see, so an attacker can pass SPF while still impersonating your domain. DKIM verifies message integrity but doesn't check whether the signing domain matches the visible sender. 

DMARC enforces alignment among all these elements and applies your chosen policy when something is out of alignment.

The combined deliverability upside is measurable. According to Validity's 2025 Email Benchmark Report, properly authenticated domains see inbox placement rates roughly 60 percentage points higher than unauthenticated ones. For anyone running cold outreach campaigns or bulk newsletters, that gap is the difference between a campaign that produces results and one that disappears entirely.

How to verify your records are working

DNS changes typically take anywhere from 15 minutes to 48 hours to propagate worldwide. Once that window passes, free tools can tell you immediately whether everything is configured correctly. MX Toolbox has separate checkers for SPF, DKIM, and DMARC. You can also send a test email to check@dmarcly.com, which replies with a full authentication report for your domain.

Also: Best email hosting services 2026: Expert tested and reviewed

Your DMARC aggregate reports are the most valuable ongoing signal. Within a day or two of publishing your DMARC record, reports will start arriving at the address you specified. They show every server sending email under your domain and whether each one is passing or failing authentication. Reading them regularly is the best way to catch misconfigurations early, before they affect your deliverability or allow your domain to be abused in phishing campaigns.

Featured