Changing dns does nothing [not relevant]

asked 2018-09-26 05:22:28 +0200

Levone1 gravatar image

Not sure what I'm missing, but has there been some change recently in how internet connections are made? Main issue is that,in previous versions, I've used Keweon dns adblock/security solution, and it's worked fine - https://forum.xda-developers.com/android/software-hacking/keweon-privacy-online-security-t3681139/amp/ All that is required is to change dns to Keweon dns, and ads, etc., are filtered. I've done it through resolv.conf, either by deleting symlink in /etc and replacing with real file, or by changing file in /var/run, and also with connmanctl, using 'connmanctl config --nameservers...'. Besides that, you can also change dns for Wi-Fi networks through settings. But now, none of those things have any apparent effect on how the connections are made - nothing that's blacklisted in Keweon gets blocked. I have used chattr +i for /etc/resolv.conf, but can't use it on /var, being a tmpfs. I read that you can put a script in /etc/NetworkManager/dispatcher.d that will overwrite resolv.conf on network connection, (https://askubuntu.com/questions/732748/unable-to-change-file-attributes-e-g-immutable-on-etc-resolv-conf), but I don't want to mess around with that, since it seems like it's not going to work anyway ... Any ideas?

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by Levone1
close date 2018-09-29 02:12:17.282823

Comments

1

FTR, SFOS does not use Network Manager, it uses connman. So _that_ solution is out of question.

addydon ( 2018-09-26 07:49:58 +0200 )edit

Sorry, my fault - typo threw everything off. Working as expected.

Levone1 ( 2018-09-29 02:11:51 +0200 )edit