A week ago I had installed avast antivirus plus avast vpn for about an hour. That exact moment I encountered this trouble for the first time. Then I uninstalled avast by clicking on the uninstall avast icon. The problem still persisted. Then I didnt switch on mac for a day. When I did the problem was gone and mac was back to normal. And i started downloading el captain on appstore. Then I switched it off and restarted after sometime. The problem returned and the downloading showed error. Then again after 2 days I tried same technique and the internet was alrite. But after i switched it off and restarted the problem began again. I am not able to view any websites other than the above mentioned ones. Nor am I able to download any apple apps or update them on appstore. I have tried Pram, safe boot, Nvprm etc..... (I can view websites in safe boot mode but not in normal mode)
Can anyone please explain to me .. how to solve this???