Overview
Content blockers use DNS-based filtering to block unwanted content before it reaches your device. When enabled, Mullvad’s DNS resolver returns a non-routable address for blocked domains, preventing your device from connecting to them. Available blockers:- Ads: Advertising networks and services
- Trackers: Analytics and tracking domains
- Malware: Known malicious domains
- Adult Content: Adult and NSFW websites
- Gambling: Betting and gambling sites
- Social Media: Social networking platforms
Content blockers are available on all platforms: Windows, Linux, macOS, Android, and iOS.
How DNS-Based Blocking Works
Normal DNS Resolution
With Content Blocker Enabled
0.0.0.0(non-routable address), ORNXDOMAIN(domain does not exist)
Available Content Blockers
Ads
Blocks: Advertising networks, banner ads, video ads, pop-ups Examples:doubleclick.netgooglesyndication.comadvertising.com- Ad servers and networks
- Cleaner browsing experience
- Faster page loading
- Reduced bandwidth usage
- Privacy improvement (ads track you)
Trackers
Blocks: Analytics services, tracking pixels, user profiling Examples:google-analytics.comfacebook.comtracking pixelshotjar.com- Analytics and heat mapping services
- Enhanced privacy
- Prevent behavioral tracking
- Reduce data collection
- Limit cross-site tracking
Malware
Blocks: Known malicious domains, phishing sites, malware distribution Examples:- Phishing websites
- Malware download sites
- Command & control servers
- Compromised domains
- Security protection
- Phishing prevention
- Malware blocking
- Safe browsing
The malware blocker uses threat intelligence feeds that are regularly updated to block newly discovered malicious domains.
Adult Content
Blocks: Adult websites, NSFW content, pornography Use cases:- Parental controls
- Family safety
- Workplace compliance
- Personal accountability
Gambling
Blocks: Online gambling, betting sites, casinos Examples:- Online casinos
- Sports betting sites
- Poker platforms
- Lottery websites
- Responsible gambling support
- Financial protection
- Workplace productivity
- Self-imposed restrictions
Social Media
Blocks: Social networking platforms Examples:- Facebook/Meta properties
- Twitter/X
- TikTok
- Digital wellness
- Productivity improvement
- Reduce screen time
- Focus enhancement
Enabling Content Blockers
Using the GUI
Enable Desired Blockers
Toggle on the blockers you want:Privacy & Security (recommended for everyone):
- ☑ Block ads
- ☑ Block trackers
- ☑ Block malware
- ☐ Block adult content
- ☐ Block gambling
- ☐ Block social media
Using the CLI
- Privacy & Security
- All Blockers
- Specific Blockers
- Disable All
Enable ads, trackers, and malware blocking:
Check Current Settings
What Content Blockers Can and Cannot Do
✅ What DNS Blocking CAN Do
- Block entire domains: Prevent connections to blocked domains
- Prevent tracking pixels: Block analytics and tracking scripts
- Stop malware downloads: Block known malicious domains
- Filter ads: Remove ads from most websites and apps
- System-wide blocking: Works for all apps (not just browsers)
- No software installation: Built into Mullvad’s DNS
❌ What DNS Blocking CANNOT Do
- Block specific URLs: Cannot block
example.com/adswhile allowingexample.com - Block first-party ads: Cannot block ads served from the same domain (e.g., YouTube ads from
youtube.com) - Block inline content: Cannot remove ads already embedded in HTML
- Granular control: Cannot block specific elements on a page
- Bypass HTTPS inspection: Cannot see encrypted HTTPS content
- Cosmetic filtering: Cannot hide blocked ad spaces (browser ad blockers do this)
DNS blocking vs. Browser ad blockers:
- DNS blocking: Prevents connections to entire domains
- Browser ad blockers (uBlock Origin, AdBlock Plus): Removes specific elements, hides ad spaces, more granular control
How Blocking Affects Different Services
Web Browsing
Ads & Trackers:- ✅ Most ads removed
- ✅ Tracking scripts blocked
- ❌ First-party ads still show (e.g., Amazon product ads)
- ❌ Empty spaces where ads were (use browser ad blocker to hide)
- ✅ Phishing sites blocked
- ✅ Malware distribution prevented
- ✅ Protection against drive-by downloads
Mobile Apps
Ads in apps:- ✅ Most in-app ads blocked
- ✅ Works for all apps, not just browsers
- ❌ Some apps may malfunction without ads
- ❌ Apps that require ad networks may show errors
Social Media Blocking
Blocked:- Cannot access social media websites
- Apps cannot connect
- Embedded social widgets fail
- “Sign in with Facebook” won’t work
- Social sharing buttons disabled
- Comments sections using social logins unavailable
Combining Blockers
Recommended Combinations
- Privacy-Focused
- Family-Safe
- Productivity-Focused
- Security-Only
Block ads, trackers, and malware:Benefits: Enhanced privacy, security, faster browsing
Trade-offs: Some sites may detect ad blocking
Compatibility
Content blockers work with:- ✅ WireGuard protocol
- ✅ Quantum-resistant tunnels
- ✅ Multihop
- ✅ DAITA
- ✅ Obfuscation protocols
- ✅ Custom DNS* (see note below)
- ✅ Split tunneling
- ✅ Local network access
Performance Impact
Content blocking has minimal performance overhead:Benefits
- Faster page loading: No time spent loading ads
- Reduced bandwidth: Less data transferred
- Lower CPU usage: Fewer scripts to execute
- Better battery life: Especially on mobile devices
Overhead
- DNS lookup: Negligible (<1ms additional processing)
- Blocklist updates: Automatic, transparent
- Memory usage: Minimal (blocklists on DNS server)
In practice, content blocking improves performance by preventing unnecessary connections and downloads.
Troubleshooting
Website or Service Not Working
If a website malfunctions with blockers enabled:- Identify the issue: Check browser console for blocked requests
-
Test by disabling blockers:
-
Disable specific blocker:
- Use browser exceptions: Some browser ad blockers allow site-specific whitelisting
Ads Still Appearing
If you still see ads:- Clear DNS cache (see below)
-
Check blocker status:
- Verify default DNS is active: Ensure not using custom DNS
- First-party ads: These cannot be blocked by DNS (use browser ad blocker)
-
Test blocking:
Clearing DNS Cache
After changing blockers, clear your DNS cache:- Windows
- macOS
- Linux
- Android
- iOS
- Chrome: Settings → Privacy and security → Clear browsing data
- Firefox: Settings → Privacy & Security → Clear Data
- Safari: Preferences → Privacy → Manage Website Data → Remove All
Social Media Login Issues
If social login (“Sign in with Facebook”) fails:-
Temporarily disable social media blocker:
- Complete login
-
Re-enable social media blocker (if desired):
Legitimate Sites Blocked
If a legitimate website is blocked:- False positive: Blocklists occasionally block legitimate domains
-
Disable blocker temporarily:
- Report false positive: Contact Mullvad support with domain details
-
Use custom DNS: Switch to unfiltered DNS if needed
Comparison with Other Solutions
DNS-Based Blocking (Mullvad Content Blockers)
Pros:- System-wide (all apps)
- No additional software
- Blocks tracking in all apps
- Low resource usage
- Works on mobile
- Cannot block first-party ads
- No cosmetic filtering
- All-or-nothing per domain
Browser Extensions (uBlock Origin, AdBlock Plus)
Pros:- Granular URL/element blocking
- Cosmetic filtering (hides ad spaces)
- Can block first-party ads
- Per-site whitelisting
- Browser-only (doesn’t block app ads)
- Resource usage in browser
- Must install in each browser
- Not available on mobile browsers (limited)
Network-Wide Blockers (Pi-hole, AdGuard Home)
Pros:- Blocks for all devices on network
- Customizable blocklists
- Detailed statistics
- Full control
- Requires separate device/server
- Network configuration needed
- Maintenance required
Best approach: Combine multiple layers:
- Mullvad content blockers (system-wide, easy)
- Browser ad blocker (granular control)
- (Optional) Network-wide blocker (protect all devices)
Privacy Considerations
What Mullvad Sees
With content blockers enabled:- Mullvad sees: DNS queries (e.g., “user queried doubleclick.net”)
- Mullvad does NOT log: DNS queries are not stored
- Blocklist matching: Happens on DNS server (not logged)
- No personal data: DNS queries are not associated with accounts
Mullvad’s no-logs policy applies to DNS queries. Content blocker usage does not compromise privacy.
Custom DNS vs. Mullvad DNS with Blockers
If you use custom DNS:- Content blockers unavailable (custom DNS provider handles resolution)
- Privacy depends on custom DNS provider’s policy
- May have own blocking features (e.g., Cloudflare for Families)
- Mullvad’s no-logs policy
- Integrated blocking
- No third-party DNS provider
Best Practices
Recommended Configuration
For most users:- Ads and trackers violate privacy
- Malware blocking enhances security
- Minimal disruption to legitimate services
Advanced Configuration
For maximum filtering:- May break some website features
- Social logins won’t work
- Test critical services first
Testing Strategy
- Start with minimal blocking: Only malware
- Add ads and trackers: Evaluate browsing experience
- Add optional blockers: If needed for specific use cases
- Document issues: Note which sites require unblocking
- Adjust as needed: Find balance between blocking and functionality
Related Features
- Custom DNS - Configure DNS settings and blockers
- Split Tunneling - DNS behavior with excluded apps
- WireGuard Protocol - Base VPN protocol
- Local Network Access - LAN connectivity settings
Technical Details
Implementation
From source code (mullvad-types/src/settings/dns.rs:22-31):Blocklist Updates
- Automatic: Mullvad updates blocklists server-side
- No client action: Devices automatically get updated blocking
- Frequency: Regular updates (daily/weekly)
- Sources: Reputable threat intelligence and filter lists