Me pehea te whakamuna i te hokohoko DNS i Linux me DNSCrypt?

dnscrypt

I tenei ra te whakamarutanga o o raraunga, me o hononga ki te whatunga me o taputapu kua kore noa iho koira noa iho tangata me te matauranga matatau kamupene ranei me mahi.

I tenei wa kia kite tatou me pehea te whakanui ake i to taatau muna i Linux, ta maatau ka mahi ko te whakahaere ko wai e kite i a maatau korero rapu DNS.

Ahakoa e kore e huna katoa i nga mahinga IP, ka aukati i nga whakaeke kino a te DNS, kia pai ai te noho haumaru.

I runga i Linux, ko te huarahi pai ki te whakamuna i nga mahinga DNS ko te whakamahi ki te DNSCrypt.

DNSCrypt he kawa whatunga i hangaia hei whakamana i nga kaihokohoko DNS (Pūnaha Ingoa Rohe) i waenga i te kaiwhakamahi rorohiko me nga ingoa whakahou o nga kaituku.

Ko te DNSCrypt te tarai i nga hokohoko DNS kaore i whakarerekehia i waenga i te kaihoko me te kaitautoko DNS i roto i te hanganga cryptographic kia kitea ai te whiu.. Ahakoa kaore e whakarato i te haumarutanga mutunga-ki-te mutunga, he awhina ki te tiaki i te whatunga o te rohe mai i nga whakaekenga a-tangata-i-waenganui.

Ka whakaitihia ano hoki nga whakaeke whakarei ake i te UDP ma te tono kia nui ake te nui o te paatai ​​ki te whakautu rite. Na reira, ma te DNSCrypt e aukati i te tukino o te DNS.

Ka taea hoki te whakamahi DNSCrypt hei whakahaere i te urunga.

Me pehea te whakauru DNSCrypt ki Linux?

Kia taea ai te whakauru i tenei whaihua ki ta maatau punaha, me whai maatau i nga huarahi e tohaina ai e maatau i raro kia rite ki te tohatoha Linux e whakamahia ana e ratou.

Kia mohio koe kei te whakauruhia te mahi DNSCrypt ki roto i te nuinga o nga putunga o nga tohatoha Linux.

Hei tapahiawhakauruhia te DNSCrypt ki a Debian, Ubuntu, Linux Mint me nga tohatoha i ahu mai i enei, me whakatuwhera e ratou tetahi tauranga ka mahi i nga whakahau e whai ake nei ki roto:

sudo apt install dnscrypt-proxy

Tuhinga o mua te hunga e Arch Linux kaiwhakamahi me nga taatai:

sudo pacman -S dnscrypt-proxy

Te hunga e whakamahi ana Fedora me nga takenga mai:

sudo dnf install dnscrypt-proxy -y

Hei whakamutunga, mo te hunga e whakamahi ana i tetahi waahanga o OpenSUSE:

sudo zypper whakauruhia te dnscrypt-takawaenga

Me pehea te whirihora i te DNSCrypt ki Linux?

Ka oti te whakauru i te punaha ki runga i te punaha, he mea tika kia whirihorahia e tatou mai i te mea kua whakauruhia, kaore ano kia mahi.

Mo tenei me whakamahi e taatau tetahi ratonga DNS, he maha nga waahanga mai i te koreutu ki nga whiringa utu.

He mea nui kia haere ma tetahi DNS ke, kaua ki te piri tonu ki tetahi o nga mea e tukuna ana e to ISP ki a raatau, ki te hiahia koe kia nui ake te ahuru.

Ka taea e raatau te whiriwhiri i tetahi e pai ake ana ma ratau, kei a maatau nga waahanga tuwheraDNS, CloudFlare me etahi atu,

I teie nei Me paatohia te tohu o te whatunga ka whakatika i tana hononga taunoa.

Akuí Ka tuu tatou i a maatau ki te kowhiri IPv4, ka rapu mo nga "DNS Servers". I roto i te pouaka "Servers DNS" whakapiri i te wahitau e whai ake nei:

Taapirihia noa te waarangi DNS e whai ake nei pMo IPv4:

1.0.0.1

Ahakoa hoki IPv6:

2606:4700:4700::1111,2606:4700:4700::1001

I muri i te whirihora i te raupaparorohiko DNSCrypt, he mea nui kia whakaoho ano i te kaiwhakahaere whatunga me nga whakahau e whai ake nei.

Solo momo noa:

sudo systemctl restart NetworkManager.service

Ko nga tautuhinga taketake e tuku ana i te taputapu DNSCrypt ki te mahi kua whakaritea. Ko te mea whakamutunga hei whakamahi ko te whakamahi i te tohu DNS ki te raina whakahau.

sudo dnscrypt-proxy -R cloudflare-dns.com

Ana koira, kei te whakamahia e raatau tenei ratonga pai i roto i a raatau punaha. Mena kei te hiahia koe ki te whakamutu i te ratonga DNSCrypt, paato noa te whakahau e whai ake nei

sudo systemctl stop dnscrypt-proxy.service

Y ki te mono rawa, a kia kore e rere i te tiimatanga, paato noa:

sudo systemctl disable dnscrypt-proxy.service

Ka kitea e koe he maha o nga korero kei runga i te paetukutuku, me pehea te whirihora i te DNSCrypt, me nga ratonga DNS rereke ka taea te whakamahi ki roto, tirohia te DNSCript Wiki. Mena kei te hiahia koe ki te mohio atu mo tenei, ka taea e koe te korero tenei hononga me hoki tenei tetahi.


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

2 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   TohuVR ka mea

    Kia ora Tuhinga pai. He mea whakamere ano hei aukati i nga whakaeke MitM. Engari ka kitea e ahau tenei he e whai ake nei "[HAPA] Kaore i te whakaotihia te ingoa [cloudflare-dns.com] i kitea i te [/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv] raarangi" ka uru ana ki te whakahau sudo dnscrypt-takawaenga - R cloudflare-dns.com.
    Tirohia te konae dnscrypt-resolvers.csv ana kaore te raarangi DNS CloudFlare i te raarangi.
    Ka taea pea kaore i te whakahouhia, mo etahi take ranei kaore ano kia whakanohoia?

    Mauruuru.

  2.   Gregory ka mea

    Ki taku whakaaro ko te "cloudflare-dns.com" e pa ana ki te kaituku DNS ka whakamahia e koe hei utu mo te IPS DNS