Sometimes when I run the commands:
sudo apk update && sudo apk upgrade
Over Alpine linux fails to update the packages even if connected to internet. But if I do
sudo su "echo 'nameserver 126.96.36.199' > /etc/resolv.conf" I manage to dowload them. But this solution:
- Causes me frustration I need to set dns all over the time.
/etc/resolv.conf gets overriden by itself.
How I can have a more permanent solution.