You are not logged in.

#1 2016-02-25 15:38:42

Moneyman
Member
Registered: 2015-08-04
Posts: 10

Dnscrypt broke and i am not sure how to fix it

I logged into my arch system as usual and noticed i wasn't able to load any web pages. After some searching i realized it was a dns problem on my laptop with Dnscrypt. I looked around on the internet to see if anyone else had a issue like mine but, to no avail. I figured the best course of action would be reinstall Dnscrypt. After uninstalling Dnscrypt I figured my dns would be working again but, that wasn't the case. Now i am here hoping to figure out if I can reverse any changes that Dnscrypt made to my laptops dns service to then reinstall Dnscrypt. Thanks in advance.

Offline

#2 2016-02-25 15:44:59

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Dnscrypt broke and i am not sure how to fix it

1) How did you install dnscrypt?

2) Do you have the right dns settings in /etc/resolv.conf?

3) Are there any error messages in Journalctl or elsewhere?

4) Do you do partial upgrades? (pacman -Sy)

Last edited by ugjka (2016-02-25 15:46:10)

Offline

#3 2016-02-25 16:01:57

Moneyman
Member
Registered: 2015-08-04
Posts: 10

Re: Dnscrypt broke and i am not sure how to fix it

1. I used the guide on the arch Linux wiki.

2. My current resolv.conf file is empty

3. I belive there was error message in journalctl that said Dnscrypt failed to start but, that was from last night. I have since then shut down my computer and cannot see it.

4. Yeah I do then on a weekly or bi-weekly basis.

Offline

#4 2016-02-25 16:11:26

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Dnscrypt broke and i am not sure how to fix it

Moneyman wrote:

1. I used the guide on the arch Linux wiki.

2. My current resolv.conf file is empty

It shouldn't be empty, according to the wiki you should have this

nameserver 127.0.0.1

I recommend you double check the wiki for more mistakes.

Moneyman wrote:

3. I belive there was error message in journalctl that said Dnscrypt failed to start but, that was from last night. I have since then shut down my computer and cannot see it.

It should still be in journal, double check it.

Atleast try journalctl | grep dnscrypt

Moneyman wrote:

4. Yeah I do then on a weekly or bi-weekly basis.

I think I tricked you, partial upgrades are REALLY BAD. Always do -Syu, not -Sy.

Last edited by ugjka (2016-02-25 16:22:22)

Offline

#5 2016-02-25 16:50:22

Moneyman
Member
Registered: 2015-08-04
Posts: 10

Re: Dnscrypt broke and i am not sure how to fix it

1, 2: I don't think I made it clear but, I already uninstalled dnscrypt. My bad if I didn't.

3. Ok yeah I usually journalctl -xe instead of the command you suggested. The errors point to my resolv.conf file not being setup properly.

4. I use to do -Syu until the updates required Pac man to be less then 4.3. Now I won't be doing anymore -Sy partial updates then.

5. Do I just refill the resolv.conf file with my default dns server and should my dns be working again?

Offline

#6 2016-02-25 16:57:24

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Dnscrypt broke and i am not sure how to fix it

Moneyman wrote:

1, 2: I don't think I made it clear but, I already uninstalled dnscrypt. My bad if I didn't.

You give up?

Moneyman wrote:

3. Ok yeah I usually journalctl -xe instead of the command you suggested. The errors point to my resolv.conf file not being setup properly.

Don't give us a description of the error, post it as it is (except private parts)!

Moneyman wrote:

4. I use to do -Syu until the updates required Pac man to be less then 4.3. Now I won't be doing anymore -Sy partial updates then.

Yes! https://gist.github.com/vodik/5660494

Moneyman wrote:

5. Do I just refill the resolv.conf file with my default dns server and should my dns be working again?

Yes!

Offline

#7 2016-02-26 00:14:50

Moneyman
Member
Registered: 2015-08-04
Posts: 10

Re: Dnscrypt broke and i am not sure how to fix it

1. No i did not give up. I thought the dns settings would revert once i deleted dnscrypt so, i could re-download dnscrypt. I did not however think it through and was unable to redownload dnscrypt.

2. Here is a link: http://postimg.org/image/6r7ufyp6v/

3. I like the story.

4. Now the question is how do i get my dns working w/o dnscrypt?

Offline

#8 2016-02-26 09:11:14

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: Dnscrypt broke and i am not sure how to fix it

2. https://wiki.archlinux.org/index.php/DN … figuration

Your dns provider is down

To change the default, edit dnscrypt-proxy.service. It is recommended to choose a provider close to your location.

4. https://wiki.archlinux.org/index.php/Resolv.conf

Your router dns:

nameserver 192.168.1.1

Google dns:

nameserver 8.8.8.8

You should be able to find answers yourself, really... Learn how to search the wiki.

Last edited by ugjka (2016-02-26 09:35:09)

Offline

Board footer

Powered by FluxBB