i was installing dnscrypt proxy in ubuntu 17.10 following guide below
http://www.ubuntubuzz.com/2017/11/how-to-install-dnscrypt-on-ubuntu-1710.html?m=1
it all went well and dnscrypt working fine. the next time i turn on the computer i just can't connect to internet. so i tried to uninstall dnscrypt proxy and refollow the guide to undo the change i made but it still doesn't connect. i have no idea what wrong here and i really appreciate any help.
edit:
somehow i'm able to solve my problem. i'm not really sure why. i'll write it so it might help other who have similar problem.
i edit /etc/resolv.conf and change so it looks like this
nameserver 127.0.0.53
then i flush my dns using
$ sudo systemctl restart systemd-resolved.service