I want to change my DNS nameserver to GoogleDNS on fedora 25. I edited /etc/resolv.conf from
search fritz.box nameserver 192.168.1.1
nameserver 184.108.40.206 nameserver 220.127.116.11
But if I reconnect to router, the file will revert back to my router's DNS nameserver. I followed this https://developers.google.com/speed/public-dns/docs/using this link's tutorial for debian part. But it isn't working.
Can I change nameserver to google's DNS permanently?
P.S: I do not have access to the router.