As you said the /etc/resolv.conf gets overwritten everytime i reboot.
I tried to set the DNS from my rouer but it seems that i need the WAN username and password from my ISP to setup a manual DNS.
So as a temporary solution I did as instructed here by installing the package resolvconf and it now works fine.