Turkey’s ISPs hijack Google’s DNS service, killing bypass for Twitter, YouTube ban

Several ISPs in Turkey are hijacking traffic to a Google service that until Saturday offered locals a way around the government’s blockade on Twitter and YouTube.

Google on Saturday confirmed that its public domain name system (DNS) service was being intercepted by “most” Turkish ISPs. Until then, the service had been a popular way to bypass Turkey's Twitter and YouTube blockade beginning last week after an order from Turkey’s President, Recep Tayyip Erdoğan.

“Turkish ISPs have set up servers that masquerade as Google’s DNS service,” Google announced on its online security blog.

Google’s DNS resolver provides users an alternative internet “phone book” to one that, for most internet users, is provided by ISPs. The problem with relying on a local ISP’s DNS resolver is that governments can order ISPs to alter that phone book to serve up false IP addresses for blacklisted sites.

That's what Turkey's ISPs appear to have done. Following the initial blockade on Twitter someone in Turkey spray-painted the Google DNS service’s IPv4 addresses — and — on a public wall, suggesting it as a way to bypass the ban.

Other IP addresses that could be used to bypass the blockade were BGPMon’s OpenDNS address and Level 3’s addresses and

People looking to get around the blockade could change their devices’ DNS settings to those services to avoid local operators, under government instruction, providing them with incorrect IP addresses for the banned sites.

While Turkish ISPs are the behind the DNS service intercept, it would appear they're doing it against their own business interests.

“The government did not instruct [Turkish ISPs] to block Google or Level 3 DNS servers… The government told them to block Twitter and then YouTube. The providers are seemingly trying to implement the ban in small incremental steps that still satisfy the letter of the law,” wrote Emil Zmijewski, VP and general manager of network intelligence provider Rensys.

According to BGPMon’s founder, Andree Toonk, the fake DNS servers that Turkish ISPs are using to intercept their traffic appear to have been designed in a way lets them comply with the Turkish government’s blockade without breaking internet connectivity for Turkish users.

“Instead of null routing this IP address [Turk Telekom] brought up servers with the IP addresses of the hijacked DNS servers and are now pretending to be these DNS servers,” Toonk explained.

“These new fake servers are receiving traffic for and other popular DNS providers and are answering DNS queries for the incoming DNS requests. One of the possible reasons for impersonating these DNS providers instead of just null routing traffic to these DNS providers is that they did not want to break Internet connectivity for the significant number of Turkish users that are using these popular DNS servers.”

According to Toonk, the fake Google DNS server on returns the IP address

“This IP is a machine on Turk Telekom and not a real Youtube server. Interestingly the returned IP is the same IP address where we’ve seen Twitter.com traffic for users in Turkey redirected to since last week.”

Reneys’ Zmijewski also confirmed the server in question was returning the same IP address for users in Turkey attempting to access YouTube. 

“Now when Turkish users seemingly ask a Google DNS server for YouTube’s address, they get the IP address of a Turkish government site (, explaining the ban,” said Zmijewski.

This article is brought to you by Enex TestLab, content directors for CSO Australia.

Join the CSO newsletter!

Error: Please check your email address.

Tags GooglesecurityDNSsocial mediacybercrimehijacking trafficGoogle DNS service

More about CSOEnex TestLabGoogle

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Liam Tung

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place