How to Bypass DNS Hijacking


Due to the complexity of this work around we don’t provide support for the setup. The guide is delivered as is and a certain level of technical expertise is expected.

We suggest using Unlocator VPN if you are subject to DNS hijacking as the VPN will bypass any hijacking.

Some ISPs are known to hijack DNS requests. As a result you will not get the 3 green check marks in your account home regardless of your settings being correct. Sometimes you will even get the 3 green check marks and only certain urls are hijacked by the ISP.

The solution is to direct all DNS request from port 53 to port 54 so the DNS request will escape the filtering. In order to do so you need a router, which support IP tables.


Add the following commands to the IP firewall:

iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to
iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to

Or us this command instead to force Google DNS to go to our servers. This is not to prevent DNS hijacking by your ISP but to send Google DNS traffic to us.

iptables -t nat -I PREROUTING --destination -j DNAT --to
iptables -t nat -I PREROUTING --destination -j DNAT --to

Don’t forget to restart the router afterwards. 

Still need help? Contact Us Contact Us