DNS Hack

Notice: This method uses plain DNS. For using the same method with secure DNS, click here.

How does it work?

Unblock websites by using a modified DNS server to bypass DNS rules set by your administrator or prevent online browser extensions from accessing their online databases. Although this method can be used to bypass certain browser extensions, it might not work always as some extensions use a different API domain to retrieve data. For disabling enforced extensions, we recommend using this method.

Limitations

 -  You are using a managed Wi-Fi network and DNS settings are greyed out.

 -  Your device has a policy set that prevents you from modifying the DNS settings.

Steps

Setup DNS server on Linux

(This might also work for Windows or Mac, but not tested)


(The instructions below are for bypassing browser extensions, skip to step 7 if you are not restricted by an extension.)

||exampledomain.com^

where 'exampledomain.com' is the actual service domain of the extension.


Make the DNS server reachable on the internet

sudo iptables -A INPUT -p tcp -m tcp --dport 53 -j ACCEPT

sudo iptables -A INPUT -p udp -m udp  --dport 53 -j ACCEPT

Port: 53

Protocol: TCP/UDP


Configure your Chromebook to use the DNS server