Dnscrypt Proxy Server dengan Debian 10 dan DNSmasq pada ZTE B860H

Super Admin 20-03-2021 3,084 Tutorial

Dnscrypt Proxy Server dengan Debian 10 dan DNSmasq pada ZTE B860H

Apa itu dnscrypt-proxy bisa cari informasinya sendiri ya? Cara install dnsmasq dan dnscrypt-proxy sebagai server, disini saya menggunakan zte b860h jadi pilihanya arm64

sudo apt install dnsmasq
wget https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.45/dnscrypt-proxy-linux_arm64-2.0.45.tar.gz
tar -zxvf dnscrypt-proxy-linux_arm64-2.0.45.tar.gz
mv linux-arm64 /opt/dnscrypt-proxy
cd /opt/dnscrypt-proxy
cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml
nano dnscrypt-proxy.toml

Kemudian ubah pada bagian

## Remove the leading # first to enable this; lines starting with # are ignored.
server_names = ['scaleway-fr', 'google', 'yandex', 'cloudflare']

## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
## Example with both IPv4 and IPv6:
## listen_addresses = ['127.0.0.1:53', '[::1]:53']
listen_addresses = ['127.0.0.1:84']

# Server must support DNS security extensions (DNSSEC)
require_dnssec = true

Config dnsmasq ubah atau tmbahkan saja di akhir

./dnscrypt-proxy -service install
nano /etc/dnsmasq.conf
server=127.0.0.1#84
no-resolv
bogus-priv

Restart semua config

systemctl restart dnscrypt-proxy
service dnsmasq restart 

 

Top Post
Lowongan Kerja