Skip to content

[Question] Help me to set DNSCrypt-proxy correctly ! #856

@Nokia808

Description

@Nokia808

Hi. I'm sorry to post this here but I did not find better place for it.
I'm on Fedora 30 X64 bit Cinnamon edition.
My Internet service provider enforce to use it's DNS even if I set different one using GUI of network manager !
I installed your dnscrypt-proxy from official Fedora repositories as following:

sudo dnf install dnscrypt-proxy
then
sudo systemctl start dnscrypt-proxy
then
sudo systemctl enable dnscrypt-proxy
then reboot my laptop

After that - from GUI of my DE for my network manager - I change my network connection as following:

  • "Advanced Network Configuration" > select "IP4 setting > Automatic (DHCP) address only" > then set DNS to 127.0.0.1
    then switched to "IPV6" & select "ignore"
    then saved & close this window
    then reboot my laptop

It was working very very very well !

But then I did additional step:
sudo vi /etc/NetworkManager/NetworkManager.conf
& then add the following line to section [main]:
dns=default

this line "dns=default" was not existing by default. I added it according to the following link (when I conclude that it will provide better security though page does not talking about DNSCrypt-proxy):
https://www.azirevpn.com/support/guides/computer/linux/change-dns

then reboot. After reboot I visited https://ipleak.net & every thing was okay. Then I went to sleep & today I opened my laptop & rechecked at https://ipleak.net when I confronted when I saw among many DNS servers DNS POINTED TO MY COUNTRY & CITY !!!

I rebbot & recheck but at this current session no such DNS leak !!!

Please help me:

  1. is adding "dns=default" responsible for this DNS leak ?

  2. what is the best value for "/etc/NetworkManager/NetworkManager.conf" ? Is it:
    dns=default
    or
    dns=none
    or it is better to delete this line & return as it was not found ?

  3. if dns-default line that I added not responsible, so what it was this DNS leak & how can I block & prevent it in future ?

Thank you very much for your great tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions