What is DNSCrypt ? :
DNSCrypt is a protocol that authenticates communications between a DNS client and a DNS resolver. It prevents DNS spoofing. It uses cryptographic signatures to verify that responses originate from the chosen DNS resolver and haven't been tampered with. Read this DNSCrypt
DNSCrypt encrypts and authenticates DNS traffic between user and DNS resolver. While IP traffic itself is unchanged, it prevents local spoofing of DNS queries, ensuring DNS responses are sent by the server of choice. Read this DNSCrypt.
DNSCrypt A protocol for securing communications between a client and a DNS resolver.
Installation :
$ sudo pacman -S dnscrypt-proxy
Or download on This, choose your architecture, then download from mirror
and install it with :
$ sudo pacman -U dnscrypt-proxy-1.6.1-1-x86_64.pkg.tar.xz
Create file with name anu.service in /etc/systemd/system/
$ sudo nano /etc/systemd/system/anu.service
Write this code :
[Unit]
Description=anu
After=network.target
Wants=network.target
[Service]
ExecStart=/usr/bin/dnscrypt-proxy --local-address=127.0.0.5:53 --resolver-name=ipredator --ephemeral-keys
Restart=on-abort
[Install]
WantedBy=multi-user.target
Then, activation the service :
$ sudo systemctl enable anu.service
$ sudo systemctl start anu.service
Go to network manager settings :
$ nm-connection-editor
Choose edit :
Restart your connection
$ sudo systemctl restart NetworkManager
Or Disconnect and Connect
Check this for more Source
Comments