Iran Firewall Test

Check if a domain may be blocked in Iran via DNS comparison

Enter a domain to compare DNS responses from Google (8.8.8.8) vs an Iranian DNS resolver (Shecan 178.22.122.100). Differences may indicate blocking.

Quick Answer: Iran operates one of the world's most extensive internet filtering systems, blocking social media, political content, VoIP services, and many international news outlets. The filtering is enforced at the ISP level by government mandate, using DNS blocking, IP blocking, and deep packet inspection. This tool compares DNS responses from Google and an Iranian resolver to detect whether a domain is filtered inside Iran.
Article Summary: Iran's national internet filtering system is managed by multiple government bodies including FATA (the Cyberspace Police) and the Committee Charged with Determining Offensive Content. It blocks a wide range of platforms and services using layered technical mechanisms. This tool provides a DNS-based heuristic test to check whether a domain appears blocked from within Iran.

What Is the Iran Firewall Test?

The Iran Firewall Test tool checks whether a domain is accessible from within Iran by comparing DNS query results from two resolvers: Google Public DNS (8.8.8.8) and Shecan (178.22.122.100), a widely used Iranian DNS resolver. If Shecan returns a different, null, or known-blocked IP compared to Google's result, the domain is flagged as potentially filtered by Iran's national internet filtering infrastructure.

Iran's internet censorship system is among the most extensive in the world. It affects millions of Iranians who rely on circumvention tools like VPNs and proxies to access everyday services including Instagram, WhatsApp (at times), YouTube, Twitter/X, and Facebook. For international businesses and developers, understanding whether their platform reaches Iranian users is critical for audience analytics and accessibility planning.

Unlike a simple ping test, this tool specifically targets the DNS layer — the most common enforcement point for Iran's filtering system. DNS blocking redirects queries for banned domains to a government-controlled IP or simply returns no result, making sites effectively unreachable for users who rely on standard ISP-provided resolvers.

How It Works

DNS-Based Filtering Detection

When an Iranian ISP receives a DNS query for a blocked domain, it intercepts the query and either returns a null response (NXDOMAIN), a redirect to a government warning page IP, or simply drops the packet. By comparing the response from Shecan — which reflects what many Iranian users experience — against Google's authoritative response, discrepancies reveal the presence of DNS-based filtering.

Shecan as a Reference Resolver

Shecan (178.22.122.100) is an Iranian alternative DNS service that many users inside Iran employ to bypass some filtering. However, it also reflects the general state of Iranian DNS infrastructure and is subject to the same ISP-level filtering rules for the most sensitive blocked categories. Using it as a reference gives a representative picture of what Iranian users on standard connections experience.

Beyond DNS: Other Filtering Techniques

Iran also uses deep packet inspection (DPI) to detect and block certain protocols and encrypted traffic patterns, particularly VPN protocols. IP-level blocking is applied to entire IP ranges associated with blocked services. SNI blocking allows filtering of HTTPS sites based on the hostname in the TLS handshake. A clean DNS result from this tool does not guarantee full accessibility — it is a first-layer heuristic check.

Iran vs China Internet Censorship

Both Iran and China operate large-scale national internet filtering systems, but they differ significantly in scope, technical sophistication, and governance.

China's Great Firewall (GFW) is technically more advanced, employing AI-driven deep packet inspection, BGP-level route injection, and highly dynamic blocklist updates. The GFW is tightly integrated at the carrier infrastructure level across all major ISPs, making circumvention technically difficult. Iran's system, by contrast, is somewhat less centralized and more reliant on ISP-level DNS blocking and IP filtering, though it has incorporated DPI capabilities over time.

In terms of scope, China blocks almost all major Western social media and communication platforms, while Iran's blocking is similarly extensive but has more variability — some platforms are periodically unblocked and re-blocked based on political events. Iran's National Information Network (NIN), also called the National Internet or "SHOMA," is an ongoing government project to build a domestic alternative internet that could theoretically function independently of the global internet during political crises.

Both countries enforce their filtering through mandatory ISP compliance. ISPs that fail to block mandated domains risk losing their operating licenses. In Iran, this is overseen by the Ministry of Information and Communications Technology (ICT) and the Cyberspace Police (FATA).

Common Use Cases

Global SaaS Accessibility Monitoring

SaaS companies with Iranian user segments use this test to monitor whether their domain remains accessible without VPN. A sudden block can silently drop a significant portion of active users, and monitoring DNS resolution from Iranian resolvers is the fastest way to detect this.

Media and Journalism Accessibility

International news organizations frequently check whether their domains are filtered in Iran. This is relevant for editorial strategy — if a site is blocked, readers in Iran must use mirror domains or VPN access, which affects audience metrics and distribution planning.

Developer and API Service Reachability

Developers building applications for users in Iran need to verify whether their API endpoints, CDN origins, and authentication servers are reachable without circumvention tools. A blocked API endpoint can silently break apps for Iranian users without any server-side error logs.

Technical Reference: Iran's Internet Filtering System

Aspect Detail
Governing Body FATA (Cyberspace Police) + Committee Charged with Determining Offensive Content (CCDOC)
Filtering Methods DNS blocking, IP blocking, deep packet inspection (DPI), SNI-based filtering, protocol blocking
Major Blocked Categories Social media, political and news content, VoIP services, adult content, gambling, anti-government content
Blocked Examples Instagram (periodically), WhatsApp (periodically), Twitter/X, YouTube, Facebook, Telegram (partially)
ISP Compliance Mandatory for all licensed ISPs; non-compliance results in license revocation

Frequently Asked Questions

Who controls internet filtering in Iran?

Internet filtering in Iran is overseen by two primary bodies: FATA (the Cyberspace Police, part of the Iranian police force) handles enforcement and monitoring, while the Committee Charged with Determining Offensive Content (CCDOC) — a multi-ministry committee — makes formal decisions about which content and domains should be blocked. The Ministry of ICT implements these decisions at the ISP level.

Which social media sites are blocked in Iran?

As of the current period, Facebook, Twitter/X, YouTube, and Telegram are persistently blocked in Iran. Instagram and WhatsApp have been blocked repeatedly during periods of political unrest, particularly during protests. LinkedIn has historically been blocked and unblocked multiple times. The situation is dynamic and subject to change based on political events.

What is the National Information Network (NIN)?

The National Information Network (NIN), referred to in Farsi as "Shabake-ye Melli-ye Ettelaat," is Iran's domestic intranet project. The goal is to build a government-controlled internal network for hosting Iranian services — including government portals, banking, and domestic social platforms — that would continue to function even if Iran were cut off from the global internet. It is part of Iran's long-term strategy for internet sovereignty.

Can Iranians use VPNs legally?

The legal status of VPNs in Iran is complex. Using a VPN to access filtered content is technically illegal under Iranian law. However, enforcement against individual users has historically been limited. The government periodically crackdowns on VPN providers and apps available on domestic app stores, and during protests it often throttles or blocks VPN protocols at the network level. Many Iranians use VPNs daily despite the legal risk.

How do I check if my site is blocked without being in Iran?

The most accessible method is using a tool like this one, which performs a DNS comparison between an international resolver and an Iranian resolver. For more comprehensive testing, you can use services that maintain probe nodes inside Iran, or compare your domain's resolution against known blocklists. This tool's DNS comparison approach is fast, requires no local installation, and catches the most common form of Iran internet filtering.

Conclusion and Takeaways

Iran's internet filtering system is a significant barrier for international platforms, journalists, and businesses that want to reach Iranian users. Understanding the mechanisms — DNS blocking, IP filtering, DPI — and testing for them proactively helps teams make informed decisions about infrastructure, mirror domains, and communication strategies for audiences inside Iran. Use this tool as your first check, and combine it with VPN-based testing for a complete picture of your site's accessibility.

Ready to Test?

Use the Iran Firewall Test above — no login required, instant results.