Home caching DNS server

Home caching DNS server

The ISP at home blocks sites not through DPI, but by substituting requests on its DNS server, which by the way sometimes slowed down.

To bypass earlier uszal prescribed in the properties of connection Google servers and CloudFlare server, but recently also faced with brakes.
As a result, ran a local caching DNS on bind9:



Install:

apt-get install bind9 bind9utils bind9-doc
После заменяем в named.conf.options:
mcedit /etc/bind/named.conf.options
forwarders {
# 0.0.0.0;
};

at

forwarders {
1.1.1.1;
1.0.0.1;
8.8.4.4;
8.8.8.8;
208.67.222.222;
208.67.220.220;
};



Now let’s write in resolv.conf:


>mcedit /etc/resolv.conf
nameserver 127.0.0.1
>service bind9 restart

After

>service bind9 restart
>service networking restart

Then we find out that the server has “dropped”. We take the key, the monitor, and restart our network interface:
>ifup eth0

We give out the IP of our local DNS-server to clients through the router, enjoy life.
Due to the fact that the local server refers to a bunch of other servers – the Internet began to work much faster.
Especially it concerns VK and Spaces, where the files are located on a bunch of different servers, such as cs01/cs02, etc.

 


35 Views

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments


Do NOT follow this link or you will be banned from the site!
0
Would love your thoughts, please comment.x
()
x

Spelling error report

The following text will be sent to our editors: